@aws-sdk/client-cloudfront 3.921.0 → 3.925.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/README.md +40 -0
- package/dist-cjs/index.js +329 -16
- package/dist-es/CloudFront.js +10 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByOwnedResourceCommand.js +22 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
- package/dist-es/commands/UpdateAnycastIpListCommand.js +22 -0
- package/dist-es/commands/index.js +6 -1
- package/dist-es/models/models_0.js +5 -5
- package/dist-es/models/models_1.js +0 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_restXml.js +225 -7
- package/dist-types/CloudFront.d.ts +35 -0
- package/dist-types/CloudFrontClient.d.ts +7 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CopyDistributionCommand.d.ts +1 -0
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByOwnedResourceCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +1 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +2 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -2
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/UpdateAnycastIpListCommand.d.ts +106 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -0
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +6 -1
- package/dist-types/models/models_0.d.ts +38 -13
- package/dist-types/models/models_1.d.ts +122 -110
- package/dist-types/models/models_2.d.ts +177 -2
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/CloudFront.d.ts +85 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByOwnedResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAnycastIpListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -6
- package/dist-types/ts3.4/models/models_1.d.ts +31 -31
- package/dist-types/ts3.4/models/models_2.d.ts +51 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +14 -14
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { UpdateAnycastIpListRequest, UpdateAnycastIpListResult } from "../models/models_2";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAnycastIpListCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAnycastIpListCommandInput extends UpdateAnycastIpListRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAnycastIpListCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAnycastIpListCommandOutput extends UpdateAnycastIpListResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAnycastIpListCommand_base: {
|
|
25
|
+
new (input: UpdateAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAnycastIpListCommandInput, UpdateAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAnycastIpListCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAnycastIpListCommandInput, UpdateAnycastIpListCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an Anycast static IP list.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, UpdateAnycastIpListCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, UpdateAnycastIpListCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront";
|
|
37
|
+
* const config = {}; // type is CloudFrontClientConfig
|
|
38
|
+
* const client = new CloudFrontClient(config);
|
|
39
|
+
* const input = { // UpdateAnycastIpListRequest
|
|
40
|
+
* Id: "STRING_VALUE", // required
|
|
41
|
+
* IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
42
|
+
* IfMatch: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UpdateAnycastIpListCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // UpdateAnycastIpListResult
|
|
47
|
+
* // AnycastIpList: { // AnycastIpList
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // Name: "STRING_VALUE", // required
|
|
50
|
+
* // Status: "STRING_VALUE", // required
|
|
51
|
+
* // Arn: "STRING_VALUE", // required
|
|
52
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
53
|
+
* // AnycastIps: [ // AnycastIps // required
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // IpCount: Number("int"), // required
|
|
57
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ETag: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param UpdateAnycastIpListCommandInput - {@link UpdateAnycastIpListCommandInput}
|
|
65
|
+
* @returns {@link UpdateAnycastIpListCommandOutput}
|
|
66
|
+
* @see {@link UpdateAnycastIpListCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link UpdateAnycastIpListCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDenied} (client fault)
|
|
71
|
+
* <p>Access denied.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
74
|
+
* <p>The entity was not found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
77
|
+
* <p>An argument is invalid.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
80
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
83
|
+
* <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
86
|
+
* <p>This operation is not supported in this Amazon Web Services Region.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link CloudFrontServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class UpdateAnycastIpListCommand extends UpdateAnycastIpListCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: UpdateAnycastIpListRequest;
|
|
99
|
+
output: UpdateAnycastIpListResult;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: UpdateAnycastIpListCommandInput;
|
|
103
|
+
output: UpdateAnycastIpListCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -82,6 +82,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
82
82
|
* },
|
|
83
83
|
* VpcOriginConfig: { // VpcOriginConfig
|
|
84
84
|
* VpcOriginId: "STRING_VALUE", // required
|
|
85
|
+
* OwnerAccountId: "STRING_VALUE",
|
|
85
86
|
* OriginReadTimeout: Number("int"),
|
|
86
87
|
* OriginKeepaliveTimeout: Number("int"),
|
|
87
88
|
* },
|
|
@@ -443,6 +444,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
443
444
|
* // },
|
|
444
445
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
445
446
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
447
|
+
* // OwnerAccountId: "STRING_VALUE",
|
|
446
448
|
* // OriginReadTimeout: Number("int"),
|
|
447
449
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
448
450
|
* // },
|
|
@@ -126,6 +126,7 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
126
126
|
* // },
|
|
127
127
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
128
128
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
129
|
+
* // OwnerAccountId: "STRING_VALUE",
|
|
129
130
|
* // OriginReadTimeout: Number("int"),
|
|
130
131
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
131
132
|
* // },
|
|
@@ -59,6 +59,7 @@ declare const UpdateVpcOriginCommand_base: {
|
|
|
59
59
|
* // VpcOrigin: { // VpcOrigin
|
|
60
60
|
* // Id: "STRING_VALUE", // required
|
|
61
61
|
* // Arn: "STRING_VALUE", // required
|
|
62
|
+
* // AccountId: "STRING_VALUE",
|
|
62
63
|
* // Status: "STRING_VALUE", // required
|
|
63
64
|
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
64
65
|
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
@@ -43,6 +43,7 @@ export * from "./DeleteOriginAccessControlCommand";
|
|
|
43
43
|
export * from "./DeleteOriginRequestPolicyCommand";
|
|
44
44
|
export * from "./DeletePublicKeyCommand";
|
|
45
45
|
export * from "./DeleteRealtimeLogConfigCommand";
|
|
46
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
46
47
|
export * from "./DeleteResponseHeadersPolicyCommand";
|
|
47
48
|
export * from "./DeleteStreamingDistributionCommand";
|
|
48
49
|
export * from "./DeleteVpcOriginCommand";
|
|
@@ -81,6 +82,7 @@ export * from "./GetOriginRequestPolicyConfigCommand";
|
|
|
81
82
|
export * from "./GetPublicKeyCommand";
|
|
82
83
|
export * from "./GetPublicKeyConfigCommand";
|
|
83
84
|
export * from "./GetRealtimeLogConfigCommand";
|
|
85
|
+
export * from "./GetResourcePolicyCommand";
|
|
84
86
|
export * from "./GetResponseHeadersPolicyCommand";
|
|
85
87
|
export * from "./GetResponseHeadersPolicyConfigCommand";
|
|
86
88
|
export * from "./GetStreamingDistributionCommand";
|
|
@@ -99,10 +101,11 @@ export * from "./ListDistributionTenantsByCustomizationCommand";
|
|
|
99
101
|
export * from "./ListDistributionsByConnectionModeCommand";
|
|
100
102
|
export * from "./ListDistributionsByKeyGroupCommand";
|
|
101
103
|
export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
|
|
104
|
+
export * from "./ListDistributionsByOwnedResourceCommand";
|
|
102
105
|
export * from "./ListDistributionsByRealtimeLogConfigCommand";
|
|
103
106
|
export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
104
|
-
export * from "./ListDistributionsByVpcOriginIdCommand";
|
|
105
107
|
export * from "./ListDistributionsCommand";
|
|
108
|
+
export * from "./ListDistributionsByVpcOriginIdCommand";
|
|
106
109
|
export * from "./ListDistributionsByWebACLIdCommand";
|
|
107
110
|
export * from "./ListDomainConflictsCommand";
|
|
108
111
|
export * from "./ListFieldLevelEncryptionConfigsCommand";
|
|
@@ -121,9 +124,11 @@ export * from "./ListStreamingDistributionsCommand";
|
|
|
121
124
|
export * from "./ListTagsForResourceCommand";
|
|
122
125
|
export * from "./ListVpcOriginsCommand";
|
|
123
126
|
export * from "./PublishFunctionCommand";
|
|
127
|
+
export * from "./PutResourcePolicyCommand";
|
|
124
128
|
export * from "./TagResourceCommand";
|
|
125
129
|
export * from "./TestFunctionCommand";
|
|
126
130
|
export * from "./UntagResourceCommand";
|
|
131
|
+
export * from "./UpdateAnycastIpListCommand";
|
|
127
132
|
export * from "./UpdateCachePolicyCommand";
|
|
128
133
|
export * from "./UpdateCloudFrontOriginAccessIdentityCommand";
|
|
129
134
|
export * from "./UpdateConnectionGroupCommand";
|
|
@@ -220,6 +220,19 @@ export interface AllowedMethods {
|
|
|
220
220
|
*/
|
|
221
221
|
CachedMethods?: CachedMethods | undefined;
|
|
222
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
* @enum
|
|
226
|
+
*/
|
|
227
|
+
export declare const IpAddressType: {
|
|
228
|
+
readonly DualStack: "dualstack";
|
|
229
|
+
readonly Ipv4: "ipv4";
|
|
230
|
+
readonly Ipv6: "ipv6";
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
223
236
|
/**
|
|
224
237
|
* <p>An Anycast static IP list. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html">Request Anycast static IPs to use for allowlisting</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
225
238
|
* @public
|
|
@@ -245,6 +258,11 @@ export interface AnycastIpList {
|
|
|
245
258
|
* @public
|
|
246
259
|
*/
|
|
247
260
|
Arn: string | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* <p>The IP address type for the Anycast static IP list.</p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
IpAddressType?: IpAddressType | undefined;
|
|
248
266
|
/**
|
|
249
267
|
* <p>The static IP addresses that are allocated to the Anycast static IP list.</p>
|
|
250
268
|
* @public
|
|
@@ -296,6 +314,16 @@ export interface AnycastIpListSummary {
|
|
|
296
314
|
* @public
|
|
297
315
|
*/
|
|
298
316
|
LastModifiedTime: Date | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* <p>The IP address type for the Anycast static IP list.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
IpAddressType?: IpAddressType | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* <p>The current version (ETag value) of the Anycast static IP list.</p>
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
ETag?: string | undefined;
|
|
299
327
|
}
|
|
300
328
|
/**
|
|
301
329
|
* <p>The Anycast static IP list collection.</p>
|
|
@@ -1647,19 +1675,6 @@ export interface CustomHeaders {
|
|
|
1647
1675
|
*/
|
|
1648
1676
|
Items?: OriginCustomHeader[] | undefined;
|
|
1649
1677
|
}
|
|
1650
|
-
/**
|
|
1651
|
-
* @public
|
|
1652
|
-
* @enum
|
|
1653
|
-
*/
|
|
1654
|
-
export declare const IpAddressType: {
|
|
1655
|
-
readonly DualStack: "dualstack";
|
|
1656
|
-
readonly Ipv4: "ipv4";
|
|
1657
|
-
readonly Ipv6: "ipv6";
|
|
1658
|
-
};
|
|
1659
|
-
/**
|
|
1660
|
-
* @public
|
|
1661
|
-
*/
|
|
1662
|
-
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
1663
1678
|
/**
|
|
1664
1679
|
* @public
|
|
1665
1680
|
* @enum
|
|
@@ -1786,6 +1801,11 @@ export interface VpcOriginConfig {
|
|
|
1786
1801
|
* @public
|
|
1787
1802
|
*/
|
|
1788
1803
|
VpcOriginId: string | undefined;
|
|
1804
|
+
/**
|
|
1805
|
+
* <p>The account ID of the Amazon Web Services account that owns the VPC origin.</p>
|
|
1806
|
+
* @public
|
|
1807
|
+
*/
|
|
1808
|
+
OwnerAccountId?: string | undefined;
|
|
1789
1809
|
/**
|
|
1790
1810
|
* <p>Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the <i>origin response timeout</i>. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout">Response timeout</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1791
1811
|
* @public
|
|
@@ -3053,6 +3073,11 @@ export interface CreateAnycastIpListRequest {
|
|
|
3053
3073
|
* @public
|
|
3054
3074
|
*/
|
|
3055
3075
|
Tags?: Tags | undefined;
|
|
3076
|
+
/**
|
|
3077
|
+
* <p>The IP address type for the Anycast static IP list. You can specify one of the following options:</p> <ul> <li> <p> <code>ipv4</code> - Allocate a list of only IPv4 addresses</p> </li> <li> <p> <code>ipv6</code> - Allocate a list of only IPv4 addresses</p> </li> <li> <p> <code>dualstack</code> - Allocate a list of both IPv4 and IPv6 addresses</p> </li> </ul>
|
|
3078
|
+
* @public
|
|
3079
|
+
*/
|
|
3080
|
+
IpAddressType?: IpAddressType | undefined;
|
|
3056
3081
|
}
|
|
3057
3082
|
/**
|
|
3058
3083
|
* @public
|
|
@@ -1320,6 +1320,11 @@ export interface VpcOrigin {
|
|
|
1320
1320
|
* @public
|
|
1321
1321
|
*/
|
|
1322
1322
|
Arn: string | undefined;
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>The account ID of the Amazon Web Services account that owns the VPC origin.</p>
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1327
|
+
AccountId?: string | undefined;
|
|
1323
1328
|
/**
|
|
1324
1329
|
* <p>The VPC origin status.</p>
|
|
1325
1330
|
* @public
|
|
@@ -1839,6 +1844,16 @@ export declare class RealtimeLogConfigInUse extends __BaseException {
|
|
|
1839
1844
|
*/
|
|
1840
1845
|
constructor(opts: __ExceptionOptionType<RealtimeLogConfigInUse, __BaseException>);
|
|
1841
1846
|
}
|
|
1847
|
+
/**
|
|
1848
|
+
* @public
|
|
1849
|
+
*/
|
|
1850
|
+
export interface DeleteResourcePolicyRequest {
|
|
1851
|
+
/**
|
|
1852
|
+
* <p>The Amazon Resource Name (ARN) of the CloudFront resource for which the resource policy should be deleted.</p>
|
|
1853
|
+
* @public
|
|
1854
|
+
*/
|
|
1855
|
+
ResourceArn: string | undefined;
|
|
1856
|
+
}
|
|
1842
1857
|
/**
|
|
1843
1858
|
* @public
|
|
1844
1859
|
*/
|
|
@@ -2916,6 +2931,31 @@ export interface GetRealtimeLogConfigResult {
|
|
|
2916
2931
|
*/
|
|
2917
2932
|
RealtimeLogConfig?: RealtimeLogConfig | undefined;
|
|
2918
2933
|
}
|
|
2934
|
+
/**
|
|
2935
|
+
* @public
|
|
2936
|
+
*/
|
|
2937
|
+
export interface GetResourcePolicyRequest {
|
|
2938
|
+
/**
|
|
2939
|
+
* <p>The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.</p>
|
|
2940
|
+
* @public
|
|
2941
|
+
*/
|
|
2942
|
+
ResourceArn: string | undefined;
|
|
2943
|
+
}
|
|
2944
|
+
/**
|
|
2945
|
+
* @public
|
|
2946
|
+
*/
|
|
2947
|
+
export interface GetResourcePolicyResult {
|
|
2948
|
+
/**
|
|
2949
|
+
* <p>The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.</p>
|
|
2950
|
+
* @public
|
|
2951
|
+
*/
|
|
2952
|
+
ResourceArn?: string | undefined;
|
|
2953
|
+
/**
|
|
2954
|
+
* <p>The resource policy in JSON format.</p>
|
|
2955
|
+
* @public
|
|
2956
|
+
*/
|
|
2957
|
+
PolicyDocument?: string | undefined;
|
|
2958
|
+
}
|
|
2919
2959
|
/**
|
|
2920
2960
|
* @public
|
|
2921
2961
|
*/
|
|
@@ -3810,6 +3850,88 @@ export interface ListDistributionsByOriginRequestPolicyIdResult {
|
|
|
3810
3850
|
*/
|
|
3811
3851
|
DistributionIdList?: DistributionIdList | undefined;
|
|
3812
3852
|
}
|
|
3853
|
+
/**
|
|
3854
|
+
* @public
|
|
3855
|
+
*/
|
|
3856
|
+
export interface ListDistributionsByOwnedResourceRequest {
|
|
3857
|
+
/**
|
|
3858
|
+
* <p>The ARN of the CloudFront resource that you've shared with other Amazon Web Services accounts.</p>
|
|
3859
|
+
* @public
|
|
3860
|
+
*/
|
|
3861
|
+
ResourceArn: string | undefined;
|
|
3862
|
+
/**
|
|
3863
|
+
* <p>Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of <code>NextMarker</code> from the current page's response.</p>
|
|
3864
|
+
* @public
|
|
3865
|
+
*/
|
|
3866
|
+
Marker?: string | undefined;
|
|
3867
|
+
/**
|
|
3868
|
+
* <p>The maximum number of distributions to return.</p>
|
|
3869
|
+
* @public
|
|
3870
|
+
*/
|
|
3871
|
+
MaxItems?: number | undefined;
|
|
3872
|
+
}
|
|
3873
|
+
/**
|
|
3874
|
+
* <p>A structure that pairs a CloudFront distribution ID with its owning Amazon Web Services account ID.</p>
|
|
3875
|
+
* @public
|
|
3876
|
+
*/
|
|
3877
|
+
export interface DistributionIdOwner {
|
|
3878
|
+
/**
|
|
3879
|
+
* <p>The ID of the distribution.</p>
|
|
3880
|
+
* @public
|
|
3881
|
+
*/
|
|
3882
|
+
DistributionId: string | undefined;
|
|
3883
|
+
/**
|
|
3884
|
+
* <p>The ID of the Amazon Web Services account that owns the distribution. </p>
|
|
3885
|
+
* @public
|
|
3886
|
+
*/
|
|
3887
|
+
OwnerAccountId: string | undefined;
|
|
3888
|
+
}
|
|
3889
|
+
/**
|
|
3890
|
+
* <p>The list of distribution IDs and the Amazon Web Services accounts that they belong to.</p>
|
|
3891
|
+
* @public
|
|
3892
|
+
*/
|
|
3893
|
+
export interface DistributionIdOwnerList {
|
|
3894
|
+
/**
|
|
3895
|
+
* <p>Use this field when paginating results to indicate where to begin in your list of <code>DistributionIdOwner</code> objects. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of <code>NextMarker</code> from the current page's response.</p>
|
|
3896
|
+
* @public
|
|
3897
|
+
*/
|
|
3898
|
+
Marker: string | undefined;
|
|
3899
|
+
/**
|
|
3900
|
+
* <p>A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.</p>
|
|
3901
|
+
* @public
|
|
3902
|
+
*/
|
|
3903
|
+
NextMarker?: string | undefined;
|
|
3904
|
+
/**
|
|
3905
|
+
* <p>The maximum number of <code>DistributionIdOwner</code> objects to return.</p>
|
|
3906
|
+
* @public
|
|
3907
|
+
*/
|
|
3908
|
+
MaxItems: number | undefined;
|
|
3909
|
+
/**
|
|
3910
|
+
* <p>A flag that indicates whether more <code>DistributionIdOwner</code> objects remain to be listed. If your results were truncated, you can make a follow-up pagination request using the <code>Marker</code> request parameter to retrieve more results in the list.</p>
|
|
3911
|
+
* @public
|
|
3912
|
+
*/
|
|
3913
|
+
IsTruncated: boolean | undefined;
|
|
3914
|
+
/**
|
|
3915
|
+
* <p>Specifies the actual number of <code>DistributionIdOwner</code> objects included in the list for the current page.</p>
|
|
3916
|
+
* @public
|
|
3917
|
+
*/
|
|
3918
|
+
Quantity: number | undefined;
|
|
3919
|
+
/**
|
|
3920
|
+
* <p>The number of <code>DistributionIdOwner</code> objects.</p>
|
|
3921
|
+
* @public
|
|
3922
|
+
*/
|
|
3923
|
+
Items?: DistributionIdOwner[] | undefined;
|
|
3924
|
+
}
|
|
3925
|
+
/**
|
|
3926
|
+
* @public
|
|
3927
|
+
*/
|
|
3928
|
+
export interface ListDistributionsByOwnedResourceResult {
|
|
3929
|
+
/**
|
|
3930
|
+
* <p>The list of distributions that are using the shared resource.</p>
|
|
3931
|
+
* @public
|
|
3932
|
+
*/
|
|
3933
|
+
DistributionList?: DistributionIdOwnerList | undefined;
|
|
3934
|
+
}
|
|
3813
3935
|
/**
|
|
3814
3936
|
* @public
|
|
3815
3937
|
*/
|
|
@@ -4954,116 +5076,6 @@ export interface RealtimeLogConfigs {
|
|
|
4954
5076
|
*/
|
|
4955
5077
|
NextMarker?: string | undefined;
|
|
4956
5078
|
}
|
|
4957
|
-
/**
|
|
4958
|
-
* @public
|
|
4959
|
-
*/
|
|
4960
|
-
export interface ListRealtimeLogConfigsResult {
|
|
4961
|
-
/**
|
|
4962
|
-
* <p>A list of real-time log configurations.</p>
|
|
4963
|
-
* @public
|
|
4964
|
-
*/
|
|
4965
|
-
RealtimeLogConfigs?: RealtimeLogConfigs | undefined;
|
|
4966
|
-
}
|
|
4967
|
-
/**
|
|
4968
|
-
* @public
|
|
4969
|
-
* @enum
|
|
4970
|
-
*/
|
|
4971
|
-
export declare const ResponseHeadersPolicyType: {
|
|
4972
|
-
readonly custom: "custom";
|
|
4973
|
-
readonly managed: "managed";
|
|
4974
|
-
};
|
|
4975
|
-
/**
|
|
4976
|
-
* @public
|
|
4977
|
-
*/
|
|
4978
|
-
export type ResponseHeadersPolicyType = (typeof ResponseHeadersPolicyType)[keyof typeof ResponseHeadersPolicyType];
|
|
4979
|
-
/**
|
|
4980
|
-
* @public
|
|
4981
|
-
*/
|
|
4982
|
-
export interface ListResponseHeadersPoliciesRequest {
|
|
4983
|
-
/**
|
|
4984
|
-
* <p>A filter to get only the specified kind of response headers policies. Valid values are:</p> <ul> <li> <p> <code>managed</code> – Gets only the managed policies created by Amazon Web Services.</p> </li> <li> <p> <code>custom</code> – Gets only the custom policies created in your Amazon Web Services account.</p> </li> </ul>
|
|
4985
|
-
* @public
|
|
4986
|
-
*/
|
|
4987
|
-
Type?: ResponseHeadersPolicyType | undefined;
|
|
4988
|
-
/**
|
|
4989
|
-
* <p>Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of <code>NextMarker</code> from the current page's response.</p>
|
|
4990
|
-
* @public
|
|
4991
|
-
*/
|
|
4992
|
-
Marker?: string | undefined;
|
|
4993
|
-
/**
|
|
4994
|
-
* <p>The maximum number of response headers policies that you want to get in the response.</p>
|
|
4995
|
-
* @public
|
|
4996
|
-
*/
|
|
4997
|
-
MaxItems?: number | undefined;
|
|
4998
|
-
}
|
|
4999
|
-
/**
|
|
5000
|
-
* <p>Contains a response headers policy.</p>
|
|
5001
|
-
* @public
|
|
5002
|
-
*/
|
|
5003
|
-
export interface ResponseHeadersPolicySummary {
|
|
5004
|
-
/**
|
|
5005
|
-
* <p>The type of response headers policy, either <code>managed</code> (created by Amazon Web Services) or <code>custom</code> (created in this Amazon Web Services account).</p>
|
|
5006
|
-
* @public
|
|
5007
|
-
*/
|
|
5008
|
-
Type: ResponseHeadersPolicyType | undefined;
|
|
5009
|
-
/**
|
|
5010
|
-
* <p>The response headers policy.</p>
|
|
5011
|
-
* @public
|
|
5012
|
-
*/
|
|
5013
|
-
ResponseHeadersPolicy: ResponseHeadersPolicy | undefined;
|
|
5014
|
-
}
|
|
5015
|
-
/**
|
|
5016
|
-
* <p>A list of response headers policies.</p>
|
|
5017
|
-
* @public
|
|
5018
|
-
*/
|
|
5019
|
-
export interface ResponseHeadersPolicyList {
|
|
5020
|
-
/**
|
|
5021
|
-
* <p>If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the <code>Marker</code> field of a subsequent request to continue listing response headers policies where you left off.</p>
|
|
5022
|
-
* @public
|
|
5023
|
-
*/
|
|
5024
|
-
NextMarker?: string | undefined;
|
|
5025
|
-
/**
|
|
5026
|
-
* <p>The maximum number of response headers policies requested.</p>
|
|
5027
|
-
* @public
|
|
5028
|
-
*/
|
|
5029
|
-
MaxItems: number | undefined;
|
|
5030
|
-
/**
|
|
5031
|
-
* <p>The number of response headers policies returned.</p>
|
|
5032
|
-
* @public
|
|
5033
|
-
*/
|
|
5034
|
-
Quantity: number | undefined;
|
|
5035
|
-
/**
|
|
5036
|
-
* <p>The response headers policies in the list.</p>
|
|
5037
|
-
* @public
|
|
5038
|
-
*/
|
|
5039
|
-
Items?: ResponseHeadersPolicySummary[] | undefined;
|
|
5040
|
-
}
|
|
5041
|
-
/**
|
|
5042
|
-
* @public
|
|
5043
|
-
*/
|
|
5044
|
-
export interface ListResponseHeadersPoliciesResult {
|
|
5045
|
-
/**
|
|
5046
|
-
* <p>A list of response headers policies.</p>
|
|
5047
|
-
* @public
|
|
5048
|
-
*/
|
|
5049
|
-
ResponseHeadersPolicyList?: ResponseHeadersPolicyList | undefined;
|
|
5050
|
-
}
|
|
5051
|
-
/**
|
|
5052
|
-
* <p>The request to list your streaming distributions.</p>
|
|
5053
|
-
* @public
|
|
5054
|
-
*/
|
|
5055
|
-
export interface ListStreamingDistributionsRequest {
|
|
5056
|
-
/**
|
|
5057
|
-
* <p>The value that you provided for the <code>Marker</code> request parameter.</p>
|
|
5058
|
-
* @public
|
|
5059
|
-
*/
|
|
5060
|
-
Marker?: string | undefined;
|
|
5061
|
-
/**
|
|
5062
|
-
* <p>The value that you provided for the <code>MaxItems</code> request parameter.</p>
|
|
5063
|
-
* @public
|
|
5064
|
-
*/
|
|
5065
|
-
MaxItems?: number | undefined;
|
|
5066
|
-
}
|
|
5067
5079
|
/**
|
|
5068
5080
|
* @internal
|
|
5069
5081
|
*/
|