@aws-sdk/client-cloudfront 3.36.1 → 3.40.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 +43 -0
- package/dist-cjs/CloudFront.js +105 -0
- package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeletePublicKeyCommand.js +2 -2
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +2 -2
- package/dist-cjs/commands/DescribeFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
- package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +36 -0
- package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +36 -0
- package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +36 -0
- package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +36 -0
- package/dist-cjs/commands/index.js +95 -0
- package/dist-cjs/endpoints.js +84 -6
- package/dist-cjs/index.js +5 -95
- package/dist-cjs/models/models_0.js +174 -166
- package/dist-cjs/models/models_1.js +257 -3
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restXml.js +1725 -120
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-es/CloudFront.js +105 -0
- package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
- package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +1 -1
- package/dist-es/commands/DeletePublicKeyCommand.js +1 -1
- package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +1 -1
- package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteStreamingDistributionCommand.js +1 -1
- package/dist-es/commands/DescribeFunctionCommand.js +1 -1
- package/dist-es/commands/GetCachePolicyCommand.js +1 -1
- package/dist-es/commands/GetCachePolicyConfigCommand.js +1 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +1 -1
- package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +1 -1
- package/dist-es/commands/GetDistributionCommand.js +1 -1
- package/dist-es/commands/GetDistributionConfigCommand.js +1 -1
- package/dist-es/commands/GetFieldLevelEncryptionCommand.js +1 -1
- package/dist-es/commands/GetResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +39 -0
- package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +39 -0
- package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +39 -0
- package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +39 -0
- package/dist-es/commands/index.js +92 -0
- package/dist-es/endpoints.js +84 -6
- package/dist-es/index.js +5 -95
- package/dist-es/models/models_0.js +122 -109
- package/dist-es/models/models_1.js +169 -2
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restXml.js +2398 -664
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/CloudFront.d.ts +109 -3
- package/dist-types/CloudFrontClient.d.ts +17 -2
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +42 -0
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +41 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +42 -0
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +41 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +41 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +42 -0
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +53 -0
- package/dist-types/commands/index.d.ts +92 -0
- package/dist-types/index.d.ts +5 -95
- package/dist-types/models/models_0.d.ts +990 -676
- package/dist-types/models/models_1.d.ts +746 -51
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/CloudFront.d.ts +35 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +13 -2
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +92 -0
- package/dist-types/ts3.4/index.d.ts +5 -95
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_1.d.ts +418 -19
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetFieldLevelEncryptionRequest, GetFieldLevelEncryptionResult } from "../models/
|
|
4
|
+
import { GetFieldLevelEncryptionRequest, GetFieldLevelEncryptionResult } from "../models/models_1";
|
|
5
5
|
export interface GetFieldLevelEncryptionCommandInput extends GetFieldLevelEncryptionRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetFieldLevelEncryptionCommandOutput extends GetFieldLevelEncryptionResult, __MetadataBearer {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { GetResponseHeadersPolicyRequest, GetResponseHeadersPolicyResult } from "../models/models_1";
|
|
5
|
+
export interface GetResponseHeadersPolicyCommandInput extends GetResponseHeadersPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetResponseHeadersPolicyCommandOutput extends GetResponseHeadersPolicyResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a response headers policy, including metadata (the policy’s identifier and the date and
|
|
11
|
+
* time when the policy was last modified).</p>
|
|
12
|
+
* <p>To get a response headers policy, you must provide the policy’s identifier. If the
|
|
13
|
+
* response headers policy is attached to a distribution’s cache behavior, you can get the
|
|
14
|
+
* policy’s identifier using <code>ListDistributions</code> or
|
|
15
|
+
* <code>GetDistribution</code>. If the response headers policy is not attached to a cache
|
|
16
|
+
* behavior, you can get the identifier using
|
|
17
|
+
* <code>ListResponseHeadersPolicies</code>.</p>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { CloudFrontClient, GetResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
22
|
+
* // const { CloudFrontClient, GetResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
23
|
+
* const client = new CloudFrontClient(config);
|
|
24
|
+
* const command = new GetResponseHeadersPolicyCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link GetResponseHeadersPolicyCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link GetResponseHeadersPolicyCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class GetResponseHeadersPolicyCommand extends $Command<GetResponseHeadersPolicyCommandInput, GetResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
|
+
readonly input: GetResponseHeadersPolicyCommandInput;
|
|
35
|
+
constructor(input: GetResponseHeadersPolicyCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResponseHeadersPolicyCommandInput, GetResponseHeadersPolicyCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { GetResponseHeadersPolicyConfigRequest, GetResponseHeadersPolicyConfigResult } from "../models/models_1";
|
|
5
|
+
export interface GetResponseHeadersPolicyConfigCommandInput extends GetResponseHeadersPolicyConfigRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetResponseHeadersPolicyConfigCommandOutput extends GetResponseHeadersPolicyConfigResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a response headers policy configuration.</p>
|
|
11
|
+
* <p>To get a response headers policy configuration, you must provide the policy’s
|
|
12
|
+
* identifier. If the response headers policy is attached to a distribution’s cache
|
|
13
|
+
* behavior, you can get the policy’s identifier using <code>ListDistributions</code> or
|
|
14
|
+
* <code>GetDistribution</code>. If the response headers policy is not attached to a
|
|
15
|
+
* cache behavior, you can get the identifier using
|
|
16
|
+
* <code>ListResponseHeadersPolicies</code>.</p>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { CloudFrontClient, GetResponseHeadersPolicyConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
21
|
+
* // const { CloudFrontClient, GetResponseHeadersPolicyConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
22
|
+
* const client = new CloudFrontClient(config);
|
|
23
|
+
* const command = new GetResponseHeadersPolicyConfigCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link GetResponseHeadersPolicyConfigCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link GetResponseHeadersPolicyConfigCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class GetResponseHeadersPolicyConfigCommand extends $Command<GetResponseHeadersPolicyConfigCommandInput, GetResponseHeadersPolicyConfigCommandOutput, CloudFrontClientResolvedConfig> {
|
|
33
|
+
readonly input: GetResponseHeadersPolicyConfigCommandInput;
|
|
34
|
+
constructor(input: GetResponseHeadersPolicyConfigCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResponseHeadersPolicyConfigCommandInput, GetResponseHeadersPolicyConfigCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -9,7 +9,7 @@ export interface ListCachePoliciesCommandOutput extends ListCachePoliciesResult,
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Gets a list of cache policies.</p>
|
|
11
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>
|
|
12
|
+
* only the custom policies created in your Amazon Web Services account.</p>
|
|
13
13
|
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
14
14
|
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
15
15
|
* default maximum, the response is paginated. To get the next page of items, send a
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { ListDistributionsByResponseHeadersPolicyIdRequest, ListDistributionsByResponseHeadersPolicyIdResult } from "../models/models_1";
|
|
5
|
+
export interface ListDistributionsByResponseHeadersPolicyIdCommandInput extends ListDistributionsByResponseHeadersPolicyIdRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListDistributionsByResponseHeadersPolicyIdCommandOutput extends ListDistributionsByResponseHeadersPolicyIdResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
|
|
11
|
+
* associated with the specified response headers policy.</p>
|
|
12
|
+
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
13
|
+
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
14
|
+
* default maximum, the response is paginated. To get the next page of items, send a
|
|
15
|
+
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
16
|
+
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
21
|
+
* // const { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
22
|
+
* const client = new CloudFrontClient(config);
|
|
23
|
+
* const command = new ListDistributionsByResponseHeadersPolicyIdCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link ListDistributionsByResponseHeadersPolicyIdCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link ListDistributionsByResponseHeadersPolicyIdCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class ListDistributionsByResponseHeadersPolicyIdCommand extends $Command<ListDistributionsByResponseHeadersPolicyIdCommandInput, ListDistributionsByResponseHeadersPolicyIdCommandOutput, CloudFrontClientResolvedConfig> {
|
|
33
|
+
readonly input: ListDistributionsByResponseHeadersPolicyIdCommandInput;
|
|
34
|
+
constructor(input: ListDistributionsByResponseHeadersPolicyIdCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDistributionsByResponseHeadersPolicyIdCommandInput, ListDistributionsByResponseHeadersPolicyIdCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface ListFunctionsCommandInput extends ListFunctionsRequest {
|
|
|
7
7
|
export interface ListFunctionsCommandOutput extends ListFunctionsResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Gets a list of all CloudFront functions in your account.</p>
|
|
10
|
+
* <p>Gets a list of all CloudFront functions in your Amazon Web Services account.</p>
|
|
11
11
|
* <p>You can optionally apply a filter to return only the functions that are in the
|
|
12
12
|
* specified stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
|
|
13
13
|
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
@@ -9,7 +9,7 @@ export interface ListOriginRequestPoliciesCommandOutput extends ListOriginReques
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Gets a list of origin request policies.</p>
|
|
11
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>
|
|
12
|
+
* only the custom policies created in your Amazon Web Services account.</p>
|
|
13
13
|
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
14
14
|
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
15
15
|
* default maximum, the response is paginated. To get the next page of items, send a
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { ListResponseHeadersPoliciesRequest, ListResponseHeadersPoliciesResult } from "../models/models_1";
|
|
5
|
+
export interface ListResponseHeadersPoliciesCommandInput extends ListResponseHeadersPoliciesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListResponseHeadersPoliciesCommandOutput extends ListResponseHeadersPoliciesResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a list of response headers policies.</p>
|
|
11
|
+
* <p>You can optionally apply a filter to get only the managed policies created by Amazon Web Services,
|
|
12
|
+
* or only the custom policies created in your Amazon Web Services 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, ListResponseHeadersPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
22
|
+
* // const { CloudFrontClient, ListResponseHeadersPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
23
|
+
* const client = new CloudFrontClient(config);
|
|
24
|
+
* const command = new ListResponseHeadersPoliciesCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link ListResponseHeadersPoliciesCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link ListResponseHeadersPoliciesCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class ListResponseHeadersPoliciesCommand extends $Command<ListResponseHeadersPoliciesCommandInput, ListResponseHeadersPoliciesCommandOutput, CloudFrontClientResolvedConfig> {
|
|
34
|
+
readonly input: ListResponseHeadersPoliciesCommandInput;
|
|
35
|
+
constructor(input: ListResponseHeadersPoliciesCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResponseHeadersPoliciesCommandInput, ListResponseHeadersPoliciesCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { UpdateResponseHeadersPolicyRequest, UpdateResponseHeadersPolicyResult } from "../models/models_1";
|
|
5
|
+
export interface UpdateResponseHeadersPolicyCommandInput extends UpdateResponseHeadersPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateResponseHeadersPolicyCommandOutput extends UpdateResponseHeadersPolicyResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates a response headers policy.</p>
|
|
11
|
+
* <p>When you update a response headers policy, the entire policy is replaced. You cannot
|
|
12
|
+
* update some policy fields independent of others. To update a response headers policy
|
|
13
|
+
* configuration:</p>
|
|
14
|
+
* <ol>
|
|
15
|
+
* <li>
|
|
16
|
+
* <p>Use <code>GetResponseHeadersPolicyConfig</code> to get the current policy’s
|
|
17
|
+
* configuration.</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>Modify the fields in the response headers policy configuration that you want
|
|
21
|
+
* to update.</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>Call <code>UpdateResponseHeadersPolicy</code>, providing the entire response
|
|
25
|
+
* headers policy configuration, including the fields that you modified and those
|
|
26
|
+
* that you didn’t.</p>
|
|
27
|
+
* </li>
|
|
28
|
+
* </ol>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { CloudFrontClient, UpdateResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
33
|
+
* // const { CloudFrontClient, UpdateResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
34
|
+
* const client = new CloudFrontClient(config);
|
|
35
|
+
* const command = new UpdateResponseHeadersPolicyCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @see {@link UpdateResponseHeadersPolicyCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link UpdateResponseHeadersPolicyCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export declare class UpdateResponseHeadersPolicyCommand extends $Command<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
45
|
+
readonly input: UpdateResponseHeadersPolicyCommandInput;
|
|
46
|
+
constructor(input: UpdateResponseHeadersPolicyCommandInput);
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput>;
|
|
51
|
+
private serialize;
|
|
52
|
+
private deserialize;
|
|
53
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export * from "./AssociateAliasCommand";
|
|
2
|
+
export * from "./CreateCachePolicyCommand";
|
|
3
|
+
export * from "./CreateCloudFrontOriginAccessIdentityCommand";
|
|
4
|
+
export * from "./CreateDistributionCommand";
|
|
5
|
+
export * from "./CreateDistributionWithTagsCommand";
|
|
6
|
+
export * from "./CreateFieldLevelEncryptionConfigCommand";
|
|
7
|
+
export * from "./CreateFieldLevelEncryptionProfileCommand";
|
|
8
|
+
export * from "./CreateFunctionCommand";
|
|
9
|
+
export * from "./CreateInvalidationCommand";
|
|
10
|
+
export * from "./CreateKeyGroupCommand";
|
|
11
|
+
export * from "./CreateMonitoringSubscriptionCommand";
|
|
12
|
+
export * from "./CreateOriginRequestPolicyCommand";
|
|
13
|
+
export * from "./CreatePublicKeyCommand";
|
|
14
|
+
export * from "./CreateRealtimeLogConfigCommand";
|
|
15
|
+
export * from "./CreateResponseHeadersPolicyCommand";
|
|
16
|
+
export * from "./CreateStreamingDistributionCommand";
|
|
17
|
+
export * from "./CreateStreamingDistributionWithTagsCommand";
|
|
18
|
+
export * from "./DeleteCachePolicyCommand";
|
|
19
|
+
export * from "./DeleteCloudFrontOriginAccessIdentityCommand";
|
|
20
|
+
export * from "./DeleteDistributionCommand";
|
|
21
|
+
export * from "./DeleteFieldLevelEncryptionConfigCommand";
|
|
22
|
+
export * from "./DeleteFieldLevelEncryptionProfileCommand";
|
|
23
|
+
export * from "./DeleteFunctionCommand";
|
|
24
|
+
export * from "./DeleteKeyGroupCommand";
|
|
25
|
+
export * from "./DeleteMonitoringSubscriptionCommand";
|
|
26
|
+
export * from "./DeleteOriginRequestPolicyCommand";
|
|
27
|
+
export * from "./DeletePublicKeyCommand";
|
|
28
|
+
export * from "./DeleteRealtimeLogConfigCommand";
|
|
29
|
+
export * from "./DeleteResponseHeadersPolicyCommand";
|
|
30
|
+
export * from "./DeleteStreamingDistributionCommand";
|
|
31
|
+
export * from "./DescribeFunctionCommand";
|
|
32
|
+
export * from "./GetCachePolicyCommand";
|
|
33
|
+
export * from "./GetCachePolicyConfigCommand";
|
|
34
|
+
export * from "./GetCloudFrontOriginAccessIdentityCommand";
|
|
35
|
+
export * from "./GetCloudFrontOriginAccessIdentityConfigCommand";
|
|
36
|
+
export * from "./GetDistributionCommand";
|
|
37
|
+
export * from "./GetDistributionConfigCommand";
|
|
38
|
+
export * from "./GetFieldLevelEncryptionCommand";
|
|
39
|
+
export * from "./GetFieldLevelEncryptionConfigCommand";
|
|
40
|
+
export * from "./GetFieldLevelEncryptionProfileCommand";
|
|
41
|
+
export * from "./GetFieldLevelEncryptionProfileConfigCommand";
|
|
42
|
+
export * from "./GetFunctionCommand";
|
|
43
|
+
export * from "./GetInvalidationCommand";
|
|
44
|
+
export * from "./GetKeyGroupCommand";
|
|
45
|
+
export * from "./GetKeyGroupConfigCommand";
|
|
46
|
+
export * from "./GetMonitoringSubscriptionCommand";
|
|
47
|
+
export * from "./GetOriginRequestPolicyCommand";
|
|
48
|
+
export * from "./GetOriginRequestPolicyConfigCommand";
|
|
49
|
+
export * from "./GetPublicKeyCommand";
|
|
50
|
+
export * from "./GetPublicKeyConfigCommand";
|
|
51
|
+
export * from "./GetRealtimeLogConfigCommand";
|
|
52
|
+
export * from "./GetResponseHeadersPolicyCommand";
|
|
53
|
+
export * from "./GetResponseHeadersPolicyConfigCommand";
|
|
54
|
+
export * from "./GetStreamingDistributionCommand";
|
|
55
|
+
export * from "./GetStreamingDistributionConfigCommand";
|
|
56
|
+
export * from "./ListCachePoliciesCommand";
|
|
57
|
+
export * from "./ListCloudFrontOriginAccessIdentitiesCommand";
|
|
58
|
+
export * from "./ListConflictingAliasesCommand";
|
|
59
|
+
export * from "./ListDistributionsByCachePolicyIdCommand";
|
|
60
|
+
export * from "./ListDistributionsByKeyGroupCommand";
|
|
61
|
+
export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
|
|
62
|
+
export * from "./ListDistributionsByRealtimeLogConfigCommand";
|
|
63
|
+
export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
64
|
+
export * from "./ListDistributionsByWebACLIdCommand";
|
|
65
|
+
export * from "./ListDistributionsCommand";
|
|
66
|
+
export * from "./ListFieldLevelEncryptionConfigsCommand";
|
|
67
|
+
export * from "./ListFieldLevelEncryptionProfilesCommand";
|
|
68
|
+
export * from "./ListFunctionsCommand";
|
|
69
|
+
export * from "./ListInvalidationsCommand";
|
|
70
|
+
export * from "./ListKeyGroupsCommand";
|
|
71
|
+
export * from "./ListOriginRequestPoliciesCommand";
|
|
72
|
+
export * from "./ListPublicKeysCommand";
|
|
73
|
+
export * from "./ListRealtimeLogConfigsCommand";
|
|
74
|
+
export * from "./ListResponseHeadersPoliciesCommand";
|
|
75
|
+
export * from "./ListStreamingDistributionsCommand";
|
|
76
|
+
export * from "./ListTagsForResourceCommand";
|
|
77
|
+
export * from "./PublishFunctionCommand";
|
|
78
|
+
export * from "./TagResourceCommand";
|
|
79
|
+
export * from "./TestFunctionCommand";
|
|
80
|
+
export * from "./UntagResourceCommand";
|
|
81
|
+
export * from "./UpdateCachePolicyCommand";
|
|
82
|
+
export * from "./UpdateCloudFrontOriginAccessIdentityCommand";
|
|
83
|
+
export * from "./UpdateDistributionCommand";
|
|
84
|
+
export * from "./UpdateFieldLevelEncryptionConfigCommand";
|
|
85
|
+
export * from "./UpdateFieldLevelEncryptionProfileCommand";
|
|
86
|
+
export * from "./UpdateFunctionCommand";
|
|
87
|
+
export * from "./UpdateKeyGroupCommand";
|
|
88
|
+
export * from "./UpdateOriginRequestPolicyCommand";
|
|
89
|
+
export * from "./UpdatePublicKeyCommand";
|
|
90
|
+
export * from "./UpdateRealtimeLogConfigCommand";
|
|
91
|
+
export * from "./UpdateResponseHeadersPolicyCommand";
|
|
92
|
+
export * from "./UpdateStreamingDistributionCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,96 +1,6 @@
|
|
|
1
|
-
export * from "./CloudFrontClient";
|
|
2
1
|
export * from "./CloudFront";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./commands/CreateFieldLevelEncryptionConfigCommand";
|
|
9
|
-
export * from "./commands/CreateFieldLevelEncryptionProfileCommand";
|
|
10
|
-
export * from "./commands/CreateFunctionCommand";
|
|
11
|
-
export * from "./commands/CreateInvalidationCommand";
|
|
12
|
-
export * from "./commands/CreateKeyGroupCommand";
|
|
13
|
-
export * from "./commands/CreateMonitoringSubscriptionCommand";
|
|
14
|
-
export * from "./commands/CreateOriginRequestPolicyCommand";
|
|
15
|
-
export * from "./commands/CreatePublicKeyCommand";
|
|
16
|
-
export * from "./commands/CreateRealtimeLogConfigCommand";
|
|
17
|
-
export * from "./commands/CreateStreamingDistributionCommand";
|
|
18
|
-
export * from "./commands/CreateStreamingDistributionWithTagsCommand";
|
|
19
|
-
export * from "./commands/DeleteCachePolicyCommand";
|
|
20
|
-
export * from "./commands/DeleteCloudFrontOriginAccessIdentityCommand";
|
|
21
|
-
export * from "./commands/DeleteDistributionCommand";
|
|
22
|
-
export * from "./commands/DeleteFieldLevelEncryptionConfigCommand";
|
|
23
|
-
export * from "./commands/DeleteFieldLevelEncryptionProfileCommand";
|
|
24
|
-
export * from "./commands/DeleteFunctionCommand";
|
|
25
|
-
export * from "./commands/DeleteKeyGroupCommand";
|
|
26
|
-
export * from "./commands/DeleteMonitoringSubscriptionCommand";
|
|
27
|
-
export * from "./commands/DeleteOriginRequestPolicyCommand";
|
|
28
|
-
export * from "./commands/DeletePublicKeyCommand";
|
|
29
|
-
export * from "./commands/DeleteRealtimeLogConfigCommand";
|
|
30
|
-
export * from "./commands/DeleteStreamingDistributionCommand";
|
|
31
|
-
export * from "./commands/DescribeFunctionCommand";
|
|
32
|
-
export * from "./commands/GetCachePolicyCommand";
|
|
33
|
-
export * from "./commands/GetCachePolicyConfigCommand";
|
|
34
|
-
export * from "./commands/GetCloudFrontOriginAccessIdentityCommand";
|
|
35
|
-
export * from "./commands/GetCloudFrontOriginAccessIdentityConfigCommand";
|
|
36
|
-
export * from "./commands/GetDistributionCommand";
|
|
37
|
-
export * from "./waiters/waitForDistributionDeployed";
|
|
38
|
-
export * from "./commands/GetDistributionConfigCommand";
|
|
39
|
-
export * from "./commands/GetFieldLevelEncryptionCommand";
|
|
40
|
-
export * from "./commands/GetFieldLevelEncryptionConfigCommand";
|
|
41
|
-
export * from "./commands/GetFieldLevelEncryptionProfileCommand";
|
|
42
|
-
export * from "./commands/GetFieldLevelEncryptionProfileConfigCommand";
|
|
43
|
-
export * from "./commands/GetFunctionCommand";
|
|
44
|
-
export * from "./commands/GetInvalidationCommand";
|
|
45
|
-
export * from "./waiters/waitForInvalidationCompleted";
|
|
46
|
-
export * from "./commands/GetKeyGroupCommand";
|
|
47
|
-
export * from "./commands/GetKeyGroupConfigCommand";
|
|
48
|
-
export * from "./commands/GetMonitoringSubscriptionCommand";
|
|
49
|
-
export * from "./commands/GetOriginRequestPolicyCommand";
|
|
50
|
-
export * from "./commands/GetOriginRequestPolicyConfigCommand";
|
|
51
|
-
export * from "./commands/GetPublicKeyCommand";
|
|
52
|
-
export * from "./commands/GetPublicKeyConfigCommand";
|
|
53
|
-
export * from "./commands/GetRealtimeLogConfigCommand";
|
|
54
|
-
export * from "./commands/GetStreamingDistributionCommand";
|
|
55
|
-
export * from "./waiters/waitForStreamingDistributionDeployed";
|
|
56
|
-
export * from "./commands/GetStreamingDistributionConfigCommand";
|
|
57
|
-
export * from "./commands/ListCachePoliciesCommand";
|
|
58
|
-
export * from "./commands/ListCloudFrontOriginAccessIdentitiesCommand";
|
|
59
|
-
export * from "./pagination/ListCloudFrontOriginAccessIdentitiesPaginator";
|
|
60
|
-
export * from "./commands/ListConflictingAliasesCommand";
|
|
61
|
-
export * from "./commands/ListDistributionsCommand";
|
|
62
|
-
export * from "./pagination/ListDistributionsPaginator";
|
|
63
|
-
export * from "./commands/ListDistributionsByCachePolicyIdCommand";
|
|
64
|
-
export * from "./commands/ListDistributionsByKeyGroupCommand";
|
|
65
|
-
export * from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
66
|
-
export * from "./commands/ListDistributionsByRealtimeLogConfigCommand";
|
|
67
|
-
export * from "./commands/ListDistributionsByWebACLIdCommand";
|
|
68
|
-
export * from "./commands/ListFieldLevelEncryptionConfigsCommand";
|
|
69
|
-
export * from "./commands/ListFieldLevelEncryptionProfilesCommand";
|
|
70
|
-
export * from "./commands/ListFunctionsCommand";
|
|
71
|
-
export * from "./commands/ListInvalidationsCommand";
|
|
72
|
-
export * from "./pagination/ListInvalidationsPaginator";
|
|
73
|
-
export * from "./commands/ListKeyGroupsCommand";
|
|
74
|
-
export * from "./commands/ListOriginRequestPoliciesCommand";
|
|
75
|
-
export * from "./commands/ListPublicKeysCommand";
|
|
76
|
-
export * from "./commands/ListRealtimeLogConfigsCommand";
|
|
77
|
-
export * from "./commands/ListStreamingDistributionsCommand";
|
|
78
|
-
export * from "./pagination/ListStreamingDistributionsPaginator";
|
|
79
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
80
|
-
export * from "./commands/PublishFunctionCommand";
|
|
81
|
-
export * from "./commands/TagResourceCommand";
|
|
82
|
-
export * from "./commands/TestFunctionCommand";
|
|
83
|
-
export * from "./commands/UntagResourceCommand";
|
|
84
|
-
export * from "./commands/UpdateCachePolicyCommand";
|
|
85
|
-
export * from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
|
|
86
|
-
export * from "./commands/UpdateDistributionCommand";
|
|
87
|
-
export * from "./commands/UpdateFieldLevelEncryptionConfigCommand";
|
|
88
|
-
export * from "./commands/UpdateFieldLevelEncryptionProfileCommand";
|
|
89
|
-
export * from "./commands/UpdateFunctionCommand";
|
|
90
|
-
export * from "./commands/UpdateKeyGroupCommand";
|
|
91
|
-
export * from "./commands/UpdateOriginRequestPolicyCommand";
|
|
92
|
-
export * from "./commands/UpdatePublicKeyCommand";
|
|
93
|
-
export * from "./commands/UpdateRealtimeLogConfigCommand";
|
|
94
|
-
export * from "./commands/UpdateStreamingDistributionCommand";
|
|
95
|
-
export * from "./pagination/Interfaces";
|
|
96
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./CloudFrontClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export * from "./waiters";
|