@aws-sdk/client-cloudfront 3.36.0 → 3.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/CloudFront.js +0 -6
- package/dist-cjs/CloudFrontClient.js +0 -11
- package/dist-cjs/commands/AssociateAliasCommand.js +0 -34
- package/dist-cjs/commands/CreateCachePolicyCommand.js +0 -44
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -27
- package/dist-cjs/commands/CreateDistributionCommand.js +0 -36
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +0 -24
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -34
- package/dist-cjs/commands/CreateInvalidationCommand.js +0 -24
- package/dist-cjs/commands/CreateKeyGroupCommand.js +0 -31
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +0 -27
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +0 -48
- package/dist-cjs/commands/CreatePublicKeyCommand.js +0 -24
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +0 -27
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +0 -26
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +0 -26
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +0 -30
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -24
- package/dist-cjs/commands/DeleteDistributionCommand.js +0 -24
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -30
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +0 -30
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +0 -24
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +0 -30
- package/dist-cjs/commands/DeletePublicKeyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +0 -30
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +0 -71
- package/dist-cjs/commands/DescribeFunctionCommand.js +0 -28
- package/dist-cjs/commands/GetCachePolicyCommand.js +0 -37
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +0 -29
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -24
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -24
- package/dist-cjs/commands/GetDistributionCommand.js +0 -24
- package/dist-cjs/commands/GetDistributionConfigCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -24
- package/dist-cjs/commands/GetFunctionCommand.js +0 -27
- package/dist-cjs/commands/GetInvalidationCommand.js +0 -24
- package/dist-cjs/commands/GetKeyGroupCommand.js +0 -29
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js +0 -29
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +0 -37
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +0 -30
- package/dist-cjs/commands/GetPublicKeyCommand.js +0 -24
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js +0 -24
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +0 -27
- package/dist-cjs/commands/GetStreamingDistributionCommand.js +0 -24
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +0 -24
- package/dist-cjs/commands/ListCachePoliciesCommand.js +0 -31
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -24
- package/dist-cjs/commands/ListConflictingAliasesCommand.js +0 -46
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +0 -30
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +0 -30
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -30
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -33
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +0 -24
- package/dist-cjs/commands/ListDistributionsCommand.js +0 -24
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -24
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -24
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -31
- package/dist-cjs/commands/ListInvalidationsCommand.js +0 -24
- package/dist-cjs/commands/ListKeyGroupsCommand.js +0 -29
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +0 -31
- package/dist-cjs/commands/ListPublicKeysCommand.js +0 -24
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +0 -29
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/PublishFunctionCommand.js +0 -32
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/TestFunctionCommand.js +0 -33
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateCachePolicyCommand.js +0 -41
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -24
- package/dist-cjs/commands/UpdateDistributionCommand.js +0 -102
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -24
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -24
- package/dist-cjs/commands/UpdateFunctionCommand.js +0 -29
- package/dist-cjs/commands/UpdateKeyGroupCommand.js +0 -41
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +0 -41
- package/dist-cjs/commands/UpdatePublicKeyCommand.js +0 -24
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +0 -44
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +0 -24
- package/dist-cjs/commands/index.js +88 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -95
- package/dist-cjs/models/models_0.js +0 -828
- package/dist-cjs/models/models_1.js +0 -369
- package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -10
- package/dist-cjs/pagination/ListDistributionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListInvalidationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restXml.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-cjs/waiters/waitForDistributionDeployed.js +0 -9
- package/dist-cjs/waiters/waitForInvalidationCompleted.js +0 -9
- package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +0 -9
- package/dist-es/commands/index.js +85 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -95
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/commands/index.d.ts +85 -0
- package/dist-types/index.d.ts +5 -95
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/CloudFront.d.ts +86 -743
- package/dist-types/ts3.4/CloudFrontClient.d.ts +24 -92
- package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +2 -98
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +85 -0
- package/dist-types/ts3.4/index.d.ts +5 -95
- package/dist-types/ts3.4/models/models_0.d.ts +105 -6590
- package/dist-types/ts3.4/models/models_1.d.ts +486 -1713
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +34 -34
|
@@ -6,29 +6,11 @@ export interface ListInvalidationsCommandInput extends ListInvalidationsRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListInvalidationsCommandOutput extends ListInvalidationsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Lists invalidation batches. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, ListInvalidationsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, ListInvalidationsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new ListInvalidationsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListInvalidationsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListInvalidationsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListInvalidationsCommand extends $Command<ListInvalidationsCommandInput, ListInvalidationsCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: ListInvalidationsCommandInput;
|
|
28
12
|
constructor(input: ListInvalidationsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListInvalidationsCommandInput, ListInvalidationsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface ListKeyGroupsCommandInput extends ListKeyGroupsRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListKeyGroupsCommandOutput extends ListKeyGroupsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets a list of key groups.</p>
|
|
11
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
12
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
13
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
14
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
15
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { CloudFrontClient, ListKeyGroupsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
20
|
-
* // const { CloudFrontClient, ListKeyGroupsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
21
|
-
* const client = new CloudFrontClient(config);
|
|
22
|
-
* const command = new ListKeyGroupsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListKeyGroupsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListKeyGroupsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class ListKeyGroupsCommand extends $Command<ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput, CloudFrontClientResolvedConfig> {
|
|
32
11
|
readonly input: ListKeyGroupsCommandInput;
|
|
33
12
|
constructor(input: ListKeyGroupsCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface ListOriginRequestPoliciesCommandInput extends ListOriginRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListOriginRequestPoliciesCommandOutput extends ListOriginRequestPoliciesResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets a list of origin request policies.</p>
|
|
11
|
-
* <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
|
|
12
|
-
* only the custom policies created in your account.</p>
|
|
13
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
14
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
15
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
16
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
17
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { CloudFrontClient, ListOriginRequestPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
22
|
-
* // const { CloudFrontClient, ListOriginRequestPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
23
|
-
* const client = new CloudFrontClient(config);
|
|
24
|
-
* const command = new ListOriginRequestPoliciesCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ListOriginRequestPoliciesCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ListOriginRequestPoliciesCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class ListOriginRequestPoliciesCommand extends $Command<ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
11
|
readonly input: ListOriginRequestPoliciesCommandInput;
|
|
35
12
|
constructor(input: ListOriginRequestPoliciesCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListPublicKeysCommandInput extends ListPublicKeysRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListPublicKeysCommandOutput extends ListPublicKeysResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>List all public keys that have been added to CloudFront for this account.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, ListPublicKeysCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, ListPublicKeysCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new ListPublicKeysCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListPublicKeysCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListPublicKeysCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListPublicKeysCommand extends $Command<ListPublicKeysCommandInput, ListPublicKeysCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: ListPublicKeysCommandInput;
|
|
28
12
|
constructor(input: ListPublicKeysCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPublicKeysCommandInput, ListPublicKeysCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface ListRealtimeLogConfigsCommandInput extends ListRealtimeLogConfi
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListRealtimeLogConfigsCommandOutput extends ListRealtimeLogConfigsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets a list of real-time log configurations.</p>
|
|
11
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
12
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
13
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
14
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
15
|
-
* response as the <code>Marker</code> value in the subsequent request. </p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { CloudFrontClient, ListRealtimeLogConfigsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
20
|
-
* // const { CloudFrontClient, ListRealtimeLogConfigsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
21
|
-
* const client = new CloudFrontClient(config);
|
|
22
|
-
* const command = new ListRealtimeLogConfigsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListRealtimeLogConfigsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListRealtimeLogConfigsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class ListRealtimeLogConfigsCommand extends $Command<ListRealtimeLogConfigsCommandInput, ListRealtimeLogConfigsCommandOutput, CloudFrontClientResolvedConfig> {
|
|
32
11
|
readonly input: ListRealtimeLogConfigsCommandInput;
|
|
33
12
|
constructor(input: ListRealtimeLogConfigsCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRealtimeLogConfigsCommandInput, ListRealtimeLogConfigsCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListStreamingDistributionsCommandInput extends ListStreamingDis
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListStreamingDistributionsCommandOutput extends ListStreamingDistributionsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>List streaming distributions. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, ListStreamingDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, ListStreamingDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new ListStreamingDistributionsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListStreamingDistributionsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListStreamingDistributionsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListStreamingDistributionsCommand extends $Command<ListStreamingDistributionsCommandInput, ListStreamingDistributionsCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: ListStreamingDistributionsCommandInput;
|
|
28
12
|
constructor(input: ListStreamingDistributionsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStreamingDistributionsCommandInput, ListStreamingDistributionsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>List tags for a CloudFront resource.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: ListTagsForResourceCommandInput;
|
|
28
12
|
constructor(input: ListTagsForResourceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,37 +6,11 @@ export interface PublishFunctionCommandInput extends PublishFunctionRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface PublishFunctionCommandOutput extends PublishFunctionResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Publishes a CloudFront function by copying the function code from the <code>DEVELOPMENT</code>
|
|
11
|
-
* stage to <code>LIVE</code>. This automatically updates all cache behaviors that are
|
|
12
|
-
* using this function to use the newly published copy in the <code>LIVE</code>
|
|
13
|
-
* stage.</p>
|
|
14
|
-
* <p>When a function is published to the <code>LIVE</code> stage, you can attach the function to
|
|
15
|
-
* a distribution’s cache behavior, using the function’s Amazon Resource Name (ARN).</p>
|
|
16
|
-
* <p>To publish a function, you must provide the function’s name and version (<code>ETag</code>
|
|
17
|
-
* value). To get these values, you can use <code>ListFunctions</code> and
|
|
18
|
-
* <code>DescribeFunction</code>.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { CloudFrontClient, PublishFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
23
|
-
* // const { CloudFrontClient, PublishFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
24
|
-
* const client = new CloudFrontClient(config);
|
|
25
|
-
* const command = new PublishFunctionCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link PublishFunctionCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link PublishFunctionCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
9
|
+
|
|
34
10
|
export declare class PublishFunctionCommand extends $Command<PublishFunctionCommandInput, PublishFunctionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
35
11
|
readonly input: PublishFunctionCommandInput;
|
|
36
12
|
constructor(input: PublishFunctionCommandInput);
|
|
37
|
-
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
13
|
+
|
|
40
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishFunctionCommandInput, PublishFunctionCommandOutput>;
|
|
41
15
|
private serialize;
|
|
42
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Add tags to a CloudFront resource.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, TagResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, TagResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new TagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: TagResourceCommandInput;
|
|
28
12
|
constructor(input: TagResourceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,38 +6,11 @@ export interface TestFunctionCommandInput extends TestFunctionRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TestFunctionCommandOutput extends TestFunctionResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Tests a CloudFront function.</p>
|
|
11
|
-
* <p>To test a function, you provide an <i>event object</i> that represents an HTTP
|
|
12
|
-
* request or response that your CloudFront distribution could receive in production. CloudFront runs
|
|
13
|
-
* the function, passing it the event object that you provided, and returns the function’s
|
|
14
|
-
* result (the modified event object) in the response. The response also contains function
|
|
15
|
-
* logs and error messages, if any exist. For more information about testing functions, see
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function">Testing functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
17
|
-
* <p>To test a function, you provide the function’s name and version (<code>ETag</code> value)
|
|
18
|
-
* along with the event object. To get the function’s name and version, you can use
|
|
19
|
-
* <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { CloudFrontClient, TestFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
24
|
-
* // const { CloudFrontClient, TestFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
25
|
-
* const client = new CloudFrontClient(config);
|
|
26
|
-
* const command = new TestFunctionCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link TestFunctionCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link TestFunctionCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
9
|
+
|
|
35
10
|
export declare class TestFunctionCommand extends $Command<TestFunctionCommandInput, TestFunctionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
36
11
|
readonly input: TestFunctionCommandInput;
|
|
37
12
|
constructor(input: TestFunctionCommandInput);
|
|
38
|
-
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
13
|
+
|
|
41
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TestFunctionCommandInput, TestFunctionCommandOutput>;
|
|
42
15
|
private serialize;
|
|
43
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Remove tags from a CloudFront resource.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, UntagResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, UntagResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new UntagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: UntagResourceCommandInput;
|
|
28
12
|
constructor(input: UntagResourceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,46 +6,11 @@ export interface UpdateCachePolicyCommandInput extends UpdateCachePolicyRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateCachePolicyCommandOutput extends UpdateCachePolicyResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Updates a cache policy configuration.</p>
|
|
11
|
-
* <p>When you update a cache policy configuration, all the fields are updated with the
|
|
12
|
-
* values provided in the request. You cannot update some fields independent of others. To
|
|
13
|
-
* update a cache policy configuration:</p>
|
|
14
|
-
* <ol>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>Use <code>GetCachePolicyConfig</code> to get the current configuration.</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>Locally modify the fields in the cache policy configuration that you want to
|
|
20
|
-
* update.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Call <code>UpdateCachePolicy</code> by providing the entire cache policy
|
|
24
|
-
* configuration, including the fields that you modified and those that you
|
|
25
|
-
* didn’t.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ol>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CloudFrontClient, UpdateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
32
|
-
* // const { CloudFrontClient, UpdateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
33
|
-
* const client = new CloudFrontClient(config);
|
|
34
|
-
* const command = new UpdateCachePolicyCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link UpdateCachePolicyCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link UpdateCachePolicyCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
9
|
+
|
|
43
10
|
export declare class UpdateCachePolicyCommand extends $Command<UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
44
11
|
readonly input: UpdateCachePolicyCommandInput;
|
|
45
12
|
constructor(input: UpdateCachePolicyCommandInput);
|
|
46
|
-
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
13
|
+
|
|
49
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput>;
|
|
50
15
|
private serialize;
|
|
51
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface UpdateCloudFrontOriginAccessIdentityCommandInput extends Update
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateCloudFrontOriginAccessIdentityCommandOutput extends UpdateCloudFrontOriginAccessIdentityResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Update an origin access identity. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, UpdateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, UpdateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new UpdateCloudFrontOriginAccessIdentityCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class UpdateCloudFrontOriginAccessIdentityCommand extends $Command<UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: UpdateCloudFrontOriginAccessIdentityCommandInput;
|
|
28
12
|
constructor(input: UpdateCloudFrontOriginAccessIdentityCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,107 +6,11 @@ export interface UpdateDistributionCommandInput extends UpdateDistributionReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateDistributionCommandOutput extends UpdateDistributionResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Updates the configuration for a web distribution. </p>
|
|
11
|
-
* <important>
|
|
12
|
-
* <p>When you update a distribution, there are more required fields than when you create a distribution.
|
|
13
|
-
* When you update your distribution by using this API action, follow the steps here to get the current configuration
|
|
14
|
-
* and then make your updates, to make sure that you include all of the required fields. To view a summary,
|
|
15
|
-
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview-required-fields.html">Required
|
|
16
|
-
* Fields for Create Distribution and Update Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
17
|
-
* </important>
|
|
18
|
-
* <p>The update process includes getting the current distribution configuration, updating the XML document that is
|
|
19
|
-
* returned to make your changes, and then submitting an <code>UpdateDistribution</code> request to make the updates.</p>
|
|
20
|
-
* <p>For information about updating a distribution using the CloudFront console instead, see
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html">Creating a
|
|
22
|
-
* Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
23
|
-
*
|
|
24
|
-
* <p>
|
|
25
|
-
* <b>To update a web distribution using the CloudFront API</b>
|
|
26
|
-
* </p>
|
|
27
|
-
* <ol>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Submit a
|
|
30
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistributionConfig.html">GetDistributionConfig</a>
|
|
31
|
-
* request to get the current configuration and an <code>Etag</code> header
|
|
32
|
-
* for the distribution.</p>
|
|
33
|
-
* <note>
|
|
34
|
-
* <p>If you update the distribution again, you must get a new <code>Etag</code> header.</p>
|
|
35
|
-
* </note>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Update the XML document that was returned in the response to your <code>GetDistributionConfig</code> request to include
|
|
39
|
-
* your changes. </p>
|
|
40
|
-
* <important>
|
|
41
|
-
* <p>When you edit the XML file, be aware of the following:</p>
|
|
42
|
-
* <ul>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>You must strip out the ETag parameter that is returned.</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>Additional fields are required when you update a distribution. There may be fields included in the
|
|
48
|
-
* XML file for features that you haven't configured for your distribution. This is expected and required to
|
|
49
|
-
* successfully update the distribution.</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>You can't change the value of <code>CallerReference</code>. If you try to change this value, CloudFront returns an
|
|
53
|
-
* <code>IllegalUpdate</code> error. </p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>The new configuration replaces the existing configuration; the values that you specify in an
|
|
57
|
-
* <code>UpdateDistribution</code> request are not merged into your existing configuration. When you add, delete, or
|
|
58
|
-
* replace values in an element that allows multiple values (for example, <code>CNAME</code>), you must specify all of the
|
|
59
|
-
* values that you want to appear in the updated distribution. In addition,
|
|
60
|
-
* you must update the corresponding <code>Quantity</code> element.</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* </ul>
|
|
63
|
-
* </important>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>Submit an <code>UpdateDistribution</code> request to update the configuration for your distribution:</p>
|
|
67
|
-
* <ul>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>In the request body, include the XML document that you updated in Step 2. The request body must include an
|
|
70
|
-
* XML document with a <code>DistributionConfig</code> element.</p>
|
|
71
|
-
* </li>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>Set the value of the HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront returned
|
|
74
|
-
* when you submitted the <code>GetDistributionConfig</code> request in Step 1.</p>
|
|
75
|
-
* </li>
|
|
76
|
-
* </ul>
|
|
77
|
-
* </li>
|
|
78
|
-
* <li>
|
|
79
|
-
* <p>Review the response to the <code>UpdateDistribution</code> request to confirm that the configuration was
|
|
80
|
-
* successfully updated.</p>
|
|
81
|
-
* </li>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>Optional: Submit a
|
|
84
|
-
* <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistribution.html">GetDistribution</a>
|
|
85
|
-
* request to confirm that your changes have propagated.
|
|
86
|
-
* When propagation is complete, the value of <code>Status</code> is <code>Deployed</code>.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* </ol>
|
|
89
|
-
* @example
|
|
90
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
91
|
-
* ```javascript
|
|
92
|
-
* import { CloudFrontClient, UpdateDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
93
|
-
* // const { CloudFrontClient, UpdateDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
94
|
-
* const client = new CloudFrontClient(config);
|
|
95
|
-
* const command = new UpdateDistributionCommand(input);
|
|
96
|
-
* const response = await client.send(command);
|
|
97
|
-
* ```
|
|
98
|
-
*
|
|
99
|
-
* @see {@link UpdateDistributionCommandInput} for command's `input` shape.
|
|
100
|
-
* @see {@link UpdateDistributionCommandOutput} for command's `response` shape.
|
|
101
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
102
|
-
*
|
|
103
|
-
*/
|
|
9
|
+
|
|
104
10
|
export declare class UpdateDistributionCommand extends $Command<UpdateDistributionCommandInput, UpdateDistributionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
105
11
|
readonly input: UpdateDistributionCommandInput;
|
|
106
12
|
constructor(input: UpdateDistributionCommandInput);
|
|
107
|
-
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
13
|
+
|
|
110
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDistributionCommandInput, UpdateDistributionCommandOutput>;
|
|
111
15
|
private serialize;
|
|
112
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface UpdateFieldLevelEncryptionConfigCommandInput extends UpdateFiel
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateFieldLevelEncryptionConfigCommandOutput extends UpdateFieldLevelEncryptionConfigResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Update a field-level encryption configuration. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudFrontClient, UpdateFieldLevelEncryptionConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
15
|
-
* // const { CloudFrontClient, UpdateFieldLevelEncryptionConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
16
|
-
* const client = new CloudFrontClient(config);
|
|
17
|
-
* const command = new UpdateFieldLevelEncryptionConfigCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateFieldLevelEncryptionConfigCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class UpdateFieldLevelEncryptionConfigCommand extends $Command<UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
|
|
27
11
|
readonly input: UpdateFieldLevelEncryptionConfigCommandInput;
|
|
28
12
|
constructor(input: UpdateFieldLevelEncryptionConfigCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|