@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
|
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets a list of distributions that have a cache behavior that’s associated with the specified
|
|
10
|
-
* real-time log configuration.</p>
|
|
11
|
-
* <p>You can specify the real-time log configuration by its name or its Amazon Resource Name
|
|
12
|
-
* (ARN). You must provide at least one. If you provide both, CloudFront uses the name to
|
|
13
|
-
* identify the real-time log configuration to list distributions for.</p>
|
|
14
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
15
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
16
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
17
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
18
|
-
* response as the <code>Marker</code> value in the subsequent request. </p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
23
|
-
* // const { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
24
|
-
* const client = new CloudFrontClient(config);
|
|
25
|
-
* const command = new ListDistributionsByRealtimeLogConfigCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link ListDistributionsByRealtimeLogConfigCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link ListDistributionsByRealtimeLogConfigCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class ListDistributionsByRealtimeLogConfigCommand extends smithy_client_1.Command {
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
constructor(input) {
|
|
38
|
-
// Start section: command_constructor
|
|
39
10
|
super();
|
|
40
11
|
this.input = input;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>List the distributions that are associated with a specified WAF web ACL.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListDistributionsByWebACLIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListDistributionsByWebACLIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListDistributionsByWebACLIdCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListDistributionsByWebACLIdCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListDistributionsByWebACLIdCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListDistributionsByWebACLIdCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>List CloudFront distributions.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListDistributionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListDistributionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListDistributionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListDistributionsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>List all field-level encryption configurations that have been created in CloudFront for this account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListFieldLevelEncryptionConfigsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListFieldLevelEncryptionConfigsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListFieldLevelEncryptionConfigsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListFieldLevelEncryptionConfigsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListFieldLevelEncryptionConfigsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListFieldLevelEncryptionConfigsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Request a list of field-level encryption profiles that have been created in CloudFront for this account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListFieldLevelEncryptionProfilesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListFieldLevelEncryptionProfilesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListFieldLevelEncryptionProfilesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListFieldLevelEncryptionProfilesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListFieldLevelEncryptionProfilesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListFieldLevelEncryptionProfilesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets a list of all CloudFront functions in your account.</p>
|
|
10
|
-
* <p>You can optionally apply a filter to return only the functions that are in the
|
|
11
|
-
* specified stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</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, ListFunctionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
21
|
-
* // const { CloudFrontClient, ListFunctionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
22
|
-
* const client = new CloudFrontClient(config);
|
|
23
|
-
* const command = new ListFunctionsCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link ListFunctionsCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link ListFunctionsCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class ListFunctionsCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists invalidation batches. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListInvalidationsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListInvalidationsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListInvalidationsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListInvalidationsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListInvalidationsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListInvalidationsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets a list of key groups.</p>
|
|
10
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
11
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
12
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
13
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
14
|
-
* response as the <code>Marker</code> value in the subsequent request.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CloudFrontClient, ListKeyGroupsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
19
|
-
* // const { CloudFrontClient, ListKeyGroupsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
20
|
-
* const client = new CloudFrontClient(config);
|
|
21
|
-
* const command = new ListKeyGroupsCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListKeyGroupsCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListKeyGroupsCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class ListKeyGroupsCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets a list of origin request policies.</p>
|
|
10
|
-
* <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
|
|
11
|
-
* only the custom policies created in your account.</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, ListOriginRequestPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
21
|
-
* // const { CloudFrontClient, ListOriginRequestPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
22
|
-
* const client = new CloudFrontClient(config);
|
|
23
|
-
* const command = new ListOriginRequestPoliciesCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link ListOriginRequestPoliciesCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link ListOriginRequestPoliciesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class ListOriginRequestPoliciesCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>List all public keys that have been added to CloudFront for this account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListPublicKeysCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListPublicKeysCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListPublicKeysCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListPublicKeysCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListPublicKeysCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListPublicKeysCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets a list of real-time log configurations.</p>
|
|
10
|
-
* <p>You can optionally specify the maximum number of items to receive in the response. If
|
|
11
|
-
* the total number of items in the list exceeds the maximum that you specify, or the
|
|
12
|
-
* default maximum, the response is paginated. To get the next page of items, send a
|
|
13
|
-
* subsequent request that specifies the <code>NextMarker</code> value from the current
|
|
14
|
-
* response as the <code>Marker</code> value in the subsequent request. </p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CloudFrontClient, ListRealtimeLogConfigsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
19
|
-
* // const { CloudFrontClient, ListRealtimeLogConfigsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
20
|
-
* const client = new CloudFrontClient(config);
|
|
21
|
-
* const command = new ListRealtimeLogConfigsCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ListRealtimeLogConfigsCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ListRealtimeLogConfigsCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class ListRealtimeLogConfigsCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>List streaming distributions. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListStreamingDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListStreamingDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListStreamingDistributionsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListStreamingDistributionsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListStreamingDistributionsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListStreamingDistributionsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>List tags for a CloudFront resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Publishes a CloudFront function by copying the function code from the <code>DEVELOPMENT</code>
|
|
10
|
-
* stage to <code>LIVE</code>. This automatically updates all cache behaviors that are
|
|
11
|
-
* using this function to use the newly published copy in the <code>LIVE</code>
|
|
12
|
-
* stage.</p>
|
|
13
|
-
* <p>When a function is published to the <code>LIVE</code> stage, you can attach the function to
|
|
14
|
-
* a distribution’s cache behavior, using the function’s Amazon Resource Name (ARN).</p>
|
|
15
|
-
* <p>To publish a function, you must provide the function’s name and version (<code>ETag</code>
|
|
16
|
-
* value). To get these values, you can use <code>ListFunctions</code> and
|
|
17
|
-
* <code>DescribeFunction</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, PublishFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
22
|
-
* // const { CloudFrontClient, PublishFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
23
|
-
* const client = new CloudFrontClient(config);
|
|
24
|
-
* const command = new PublishFunctionCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link PublishFunctionCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link PublishFunctionCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class PublishFunctionCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Add tags to a CloudFront resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CloudFrontClient, TagResourceCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
14
|
-
* // const { CloudFrontClient, TagResourceCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
15
|
-
* const client = new CloudFrontClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Tests a CloudFront function.</p>
|
|
10
|
-
* <p>To test a function, you provide an <i>event object</i> that represents an HTTP
|
|
11
|
-
* request or response that your CloudFront distribution could receive in production. CloudFront runs
|
|
12
|
-
* the function, passing it the event object that you provided, and returns the function’s
|
|
13
|
-
* result (the modified event object) in the response. The response also contains function
|
|
14
|
-
* logs and error messages, if any exist. For more information about testing functions, see
|
|
15
|
-
* <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>
|
|
16
|
-
* <p>To test a function, you provide the function’s name and version (<code>ETag</code> value)
|
|
17
|
-
* along with the event object. To get the function’s name and version, you can use
|
|
18
|
-
* <code>ListFunctions</code> and <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, TestFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
23
|
-
* // const { CloudFrontClient, TestFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
24
|
-
* const client = new CloudFrontClient(config);
|
|
25
|
-
* const command = new TestFunctionCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link TestFunctionCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link TestFunctionCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class TestFunctionCommand extends smithy_client_1.Command {
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
constructor(input) {
|
|
38
|
-
// Start section: command_constructor
|
|
39
10
|
super();
|
|
40
11
|
this.input = input;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
const stack = clientStack.concat(this.middlewareStack);
|