@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,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudFrontClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudFrontClient";
|
|
8
|
+
import {
|
|
9
|
+
GetResourcePolicyRequest,
|
|
10
|
+
GetResourcePolicyResult,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetResourcePolicyCommandInput
|
|
15
|
+
extends GetResourcePolicyRequest {}
|
|
16
|
+
export interface GetResourcePolicyCommandOutput
|
|
17
|
+
extends GetResourcePolicyResult,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetResourcePolicyCommandInput,
|
|
24
|
+
GetResourcePolicyCommandOutput,
|
|
25
|
+
CloudFrontClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetResourcePolicyCommandInput,
|
|
33
|
+
GetResourcePolicyCommandOutput,
|
|
34
|
+
CloudFrontClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetResourcePolicyRequest;
|
|
44
|
+
output: GetResourcePolicyResult;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetResourcePolicyCommandInput;
|
|
48
|
+
output: GetResourcePolicyCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudFrontClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudFrontClient";
|
|
8
|
+
import {
|
|
9
|
+
ListDistributionsByOwnedResourceRequest,
|
|
10
|
+
ListDistributionsByOwnedResourceResult,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListDistributionsByOwnedResourceCommandInput
|
|
15
|
+
extends ListDistributionsByOwnedResourceRequest {}
|
|
16
|
+
export interface ListDistributionsByOwnedResourceCommandOutput
|
|
17
|
+
extends ListDistributionsByOwnedResourceResult,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListDistributionsByOwnedResourceCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListDistributionsByOwnedResourceCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListDistributionsByOwnedResourceCommandInput,
|
|
24
|
+
ListDistributionsByOwnedResourceCommandOutput,
|
|
25
|
+
CloudFrontClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListDistributionsByOwnedResourceCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListDistributionsByOwnedResourceCommandInput,
|
|
33
|
+
ListDistributionsByOwnedResourceCommandOutput,
|
|
34
|
+
CloudFrontClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListDistributionsByOwnedResourceCommand extends ListDistributionsByOwnedResourceCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListDistributionsByOwnedResourceRequest;
|
|
44
|
+
output: ListDistributionsByOwnedResourceResult;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListDistributionsByOwnedResourceCommandInput;
|
|
48
|
+
output: ListDistributionsByOwnedResourceCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CloudFrontClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
ListRealtimeLogConfigsResult,
|
|
11
|
-
} from "../models/models_1";
|
|
8
|
+
import { ListRealtimeLogConfigsRequest } from "../models/models_1";
|
|
9
|
+
import { ListRealtimeLogConfigsResult } from "../models/models_2";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface ListRealtimeLogConfigsCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListResponseHeadersPoliciesRequest,
|
|
10
10
|
ListResponseHeadersPoliciesResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_2";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListResponseHeadersPoliciesCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CloudFrontClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListStreamingDistributionsRequest,
|
|
10
|
+
ListStreamingDistributionsResult,
|
|
11
|
+
} from "../models/models_2";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ListStreamingDistributionsCommandInput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudFrontClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudFrontClient";
|
|
8
|
+
import {
|
|
9
|
+
PutResourcePolicyRequest,
|
|
10
|
+
PutResourcePolicyResult,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutResourcePolicyCommandInput
|
|
15
|
+
extends PutResourcePolicyRequest {}
|
|
16
|
+
export interface PutResourcePolicyCommandOutput
|
|
17
|
+
extends PutResourcePolicyResult,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutResourcePolicyCommandInput,
|
|
24
|
+
PutResourcePolicyCommandOutput,
|
|
25
|
+
CloudFrontClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: PutResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutResourcePolicyCommandInput,
|
|
33
|
+
PutResourcePolicyCommandOutput,
|
|
34
|
+
CloudFrontClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: PutResourcePolicyRequest;
|
|
44
|
+
output: PutResourcePolicyResult;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: PutResourcePolicyCommandInput;
|
|
48
|
+
output: PutResourcePolicyCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CloudFrontClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CloudFrontClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateAnycastIpListRequest,
|
|
10
|
+
UpdateAnycastIpListResult,
|
|
11
|
+
} from "../models/models_2";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateAnycastIpListCommandInput
|
|
15
|
+
extends UpdateAnycastIpListRequest {}
|
|
16
|
+
export interface UpdateAnycastIpListCommandOutput
|
|
17
|
+
extends UpdateAnycastIpListResult,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateAnycastIpListCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateAnycastIpListCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateAnycastIpListCommandInput,
|
|
24
|
+
UpdateAnycastIpListCommandOutput,
|
|
25
|
+
CloudFrontClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateAnycastIpListCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateAnycastIpListCommandInput,
|
|
33
|
+
UpdateAnycastIpListCommandOutput,
|
|
34
|
+
CloudFrontClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateAnycastIpListCommand extends UpdateAnycastIpListCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateAnycastIpListRequest;
|
|
44
|
+
output: UpdateAnycastIpListResult;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateAnycastIpListCommandInput;
|
|
48
|
+
output: UpdateAnycastIpListCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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";
|
|
@@ -74,11 +74,18 @@ export interface AllowedMethods {
|
|
|
74
74
|
Items: Method[] | undefined;
|
|
75
75
|
CachedMethods?: CachedMethods | undefined;
|
|
76
76
|
}
|
|
77
|
+
export declare const IpAddressType: {
|
|
78
|
+
readonly DualStack: "dualstack";
|
|
79
|
+
readonly Ipv4: "ipv4";
|
|
80
|
+
readonly Ipv6: "ipv6";
|
|
81
|
+
};
|
|
82
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
77
83
|
export interface AnycastIpList {
|
|
78
84
|
Id: string | undefined;
|
|
79
85
|
Name: string | undefined;
|
|
80
86
|
Status: string | undefined;
|
|
81
87
|
Arn: string | undefined;
|
|
88
|
+
IpAddressType?: IpAddressType | undefined;
|
|
82
89
|
AnycastIps: string[] | undefined;
|
|
83
90
|
IpCount: number | undefined;
|
|
84
91
|
LastModifiedTime: Date | undefined;
|
|
@@ -90,6 +97,8 @@ export interface AnycastIpListSummary {
|
|
|
90
97
|
Arn: string | undefined;
|
|
91
98
|
IpCount: number | undefined;
|
|
92
99
|
LastModifiedTime: Date | undefined;
|
|
100
|
+
IpAddressType?: IpAddressType | undefined;
|
|
101
|
+
ETag?: string | undefined;
|
|
93
102
|
}
|
|
94
103
|
export interface AnycastIpListCollection {
|
|
95
104
|
Items?: AnycastIpListSummary[] | undefined;
|
|
@@ -507,12 +516,6 @@ export interface CustomHeaders {
|
|
|
507
516
|
Quantity: number | undefined;
|
|
508
517
|
Items?: OriginCustomHeader[] | undefined;
|
|
509
518
|
}
|
|
510
|
-
export declare const IpAddressType: {
|
|
511
|
-
readonly DualStack: "dualstack";
|
|
512
|
-
readonly Ipv4: "ipv4";
|
|
513
|
-
readonly Ipv6: "ipv6";
|
|
514
|
-
};
|
|
515
|
-
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
516
519
|
export declare const OriginProtocolPolicy: {
|
|
517
520
|
readonly http_only: "http-only";
|
|
518
521
|
readonly https_only: "https-only";
|
|
@@ -550,6 +553,7 @@ export interface S3OriginConfig {
|
|
|
550
553
|
}
|
|
551
554
|
export interface VpcOriginConfig {
|
|
552
555
|
VpcOriginId: string | undefined;
|
|
556
|
+
OwnerAccountId?: string | undefined;
|
|
553
557
|
OriginReadTimeout?: number | undefined;
|
|
554
558
|
OriginKeepaliveTimeout?: number | undefined;
|
|
555
559
|
}
|
|
@@ -1177,6 +1181,7 @@ export interface CreateAnycastIpListRequest {
|
|
|
1177
1181
|
Name: string | undefined;
|
|
1178
1182
|
IpCount: number | undefined;
|
|
1179
1183
|
Tags?: Tags | undefined;
|
|
1184
|
+
IpAddressType?: IpAddressType | undefined;
|
|
1180
1185
|
}
|
|
1181
1186
|
export interface CreateAnycastIpListResult {
|
|
1182
1187
|
AnycastIpList?: AnycastIpList | undefined;
|
|
@@ -543,6 +543,7 @@ export interface CreateVpcOriginRequest {
|
|
|
543
543
|
export interface VpcOrigin {
|
|
544
544
|
Id: string | undefined;
|
|
545
545
|
Arn: string | undefined;
|
|
546
|
+
AccountId?: string | undefined;
|
|
546
547
|
Status: string | undefined;
|
|
547
548
|
CreatedTime: Date | undefined;
|
|
548
549
|
LastModifiedTime: Date | undefined;
|
|
@@ -759,6 +760,9 @@ export declare class RealtimeLogConfigInUse extends __BaseException {
|
|
|
759
760
|
opts: __ExceptionOptionType<RealtimeLogConfigInUse, __BaseException>
|
|
760
761
|
);
|
|
761
762
|
}
|
|
763
|
+
export interface DeleteResourcePolicyRequest {
|
|
764
|
+
ResourceArn: string | undefined;
|
|
765
|
+
}
|
|
762
766
|
export interface DeleteResponseHeadersPolicyRequest {
|
|
763
767
|
Id: string | undefined;
|
|
764
768
|
IfMatch?: string | undefined;
|
|
@@ -1084,6 +1088,13 @@ export interface GetRealtimeLogConfigRequest {
|
|
|
1084
1088
|
export interface GetRealtimeLogConfigResult {
|
|
1085
1089
|
RealtimeLogConfig?: RealtimeLogConfig | undefined;
|
|
1086
1090
|
}
|
|
1091
|
+
export interface GetResourcePolicyRequest {
|
|
1092
|
+
ResourceArn: string | undefined;
|
|
1093
|
+
}
|
|
1094
|
+
export interface GetResourcePolicyResult {
|
|
1095
|
+
ResourceArn?: string | undefined;
|
|
1096
|
+
PolicyDocument?: string | undefined;
|
|
1097
|
+
}
|
|
1087
1098
|
export interface GetResponseHeadersPolicyRequest {
|
|
1088
1099
|
Id: string | undefined;
|
|
1089
1100
|
}
|
|
@@ -1306,6 +1317,26 @@ export interface ListDistributionsByOriginRequestPolicyIdRequest {
|
|
|
1306
1317
|
export interface ListDistributionsByOriginRequestPolicyIdResult {
|
|
1307
1318
|
DistributionIdList?: DistributionIdList | undefined;
|
|
1308
1319
|
}
|
|
1320
|
+
export interface ListDistributionsByOwnedResourceRequest {
|
|
1321
|
+
ResourceArn: string | undefined;
|
|
1322
|
+
Marker?: string | undefined;
|
|
1323
|
+
MaxItems?: number | undefined;
|
|
1324
|
+
}
|
|
1325
|
+
export interface DistributionIdOwner {
|
|
1326
|
+
DistributionId: string | undefined;
|
|
1327
|
+
OwnerAccountId: string | undefined;
|
|
1328
|
+
}
|
|
1329
|
+
export interface DistributionIdOwnerList {
|
|
1330
|
+
Marker: string | undefined;
|
|
1331
|
+
NextMarker?: string | undefined;
|
|
1332
|
+
MaxItems: number | undefined;
|
|
1333
|
+
IsTruncated: boolean | undefined;
|
|
1334
|
+
Quantity: number | undefined;
|
|
1335
|
+
Items?: DistributionIdOwner[] | undefined;
|
|
1336
|
+
}
|
|
1337
|
+
export interface ListDistributionsByOwnedResourceResult {
|
|
1338
|
+
DistributionList?: DistributionIdOwnerList | undefined;
|
|
1339
|
+
}
|
|
1309
1340
|
export interface ListDistributionsByRealtimeLogConfigRequest {
|
|
1310
1341
|
Marker?: string | undefined;
|
|
1311
1342
|
MaxItems?: number | undefined;
|
|
@@ -1593,37 +1624,6 @@ export interface RealtimeLogConfigs {
|
|
|
1593
1624
|
Marker: string | undefined;
|
|
1594
1625
|
NextMarker?: string | undefined;
|
|
1595
1626
|
}
|
|
1596
|
-
export interface ListRealtimeLogConfigsResult {
|
|
1597
|
-
RealtimeLogConfigs?: RealtimeLogConfigs | undefined;
|
|
1598
|
-
}
|
|
1599
|
-
export declare const ResponseHeadersPolicyType: {
|
|
1600
|
-
readonly custom: "custom";
|
|
1601
|
-
readonly managed: "managed";
|
|
1602
|
-
};
|
|
1603
|
-
export type ResponseHeadersPolicyType =
|
|
1604
|
-
(typeof ResponseHeadersPolicyType)[keyof typeof ResponseHeadersPolicyType];
|
|
1605
|
-
export interface ListResponseHeadersPoliciesRequest {
|
|
1606
|
-
Type?: ResponseHeadersPolicyType | undefined;
|
|
1607
|
-
Marker?: string | undefined;
|
|
1608
|
-
MaxItems?: number | undefined;
|
|
1609
|
-
}
|
|
1610
|
-
export interface ResponseHeadersPolicySummary {
|
|
1611
|
-
Type: ResponseHeadersPolicyType | undefined;
|
|
1612
|
-
ResponseHeadersPolicy: ResponseHeadersPolicy | undefined;
|
|
1613
|
-
}
|
|
1614
|
-
export interface ResponseHeadersPolicyList {
|
|
1615
|
-
NextMarker?: string | undefined;
|
|
1616
|
-
MaxItems: number | undefined;
|
|
1617
|
-
Quantity: number | undefined;
|
|
1618
|
-
Items?: ResponseHeadersPolicySummary[] | undefined;
|
|
1619
|
-
}
|
|
1620
|
-
export interface ListResponseHeadersPoliciesResult {
|
|
1621
|
-
ResponseHeadersPolicyList?: ResponseHeadersPolicyList | undefined;
|
|
1622
|
-
}
|
|
1623
|
-
export interface ListStreamingDistributionsRequest {
|
|
1624
|
-
Marker?: string | undefined;
|
|
1625
|
-
MaxItems?: number | undefined;
|
|
1626
|
-
}
|
|
1627
1627
|
export declare const GetDistributionResultFilterSensitiveLog: (
|
|
1628
1628
|
obj: GetDistributionResult
|
|
1629
1629
|
) => any;
|
|
@@ -2,6 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
3
|
import {
|
|
4
4
|
Aliases,
|
|
5
|
+
AnycastIpList,
|
|
5
6
|
CachePolicy,
|
|
6
7
|
CachePolicyConfig,
|
|
7
8
|
CloudFrontOriginAccessIdentity,
|
|
@@ -21,6 +22,7 @@ import {
|
|
|
21
22
|
FunctionConfig,
|
|
22
23
|
FunctionStage,
|
|
23
24
|
FunctionSummary,
|
|
25
|
+
IpAddressType,
|
|
24
26
|
KeyGroup,
|
|
25
27
|
KeyGroupConfig,
|
|
26
28
|
KeyValueStore,
|
|
@@ -40,6 +42,7 @@ import {
|
|
|
40
42
|
PublicKey,
|
|
41
43
|
PublicKeyConfig,
|
|
42
44
|
RealtimeLogConfig,
|
|
45
|
+
RealtimeLogConfigs,
|
|
43
46
|
ResponseHeadersPolicy,
|
|
44
47
|
ResponseHeadersPolicyConfig,
|
|
45
48
|
S3Origin,
|
|
@@ -48,6 +51,37 @@ import {
|
|
|
48
51
|
VpcOrigin,
|
|
49
52
|
VpcOriginEndpointConfig,
|
|
50
53
|
} from "./models_1";
|
|
54
|
+
export interface ListRealtimeLogConfigsResult {
|
|
55
|
+
RealtimeLogConfigs?: RealtimeLogConfigs | undefined;
|
|
56
|
+
}
|
|
57
|
+
export declare const ResponseHeadersPolicyType: {
|
|
58
|
+
readonly custom: "custom";
|
|
59
|
+
readonly managed: "managed";
|
|
60
|
+
};
|
|
61
|
+
export type ResponseHeadersPolicyType =
|
|
62
|
+
(typeof ResponseHeadersPolicyType)[keyof typeof ResponseHeadersPolicyType];
|
|
63
|
+
export interface ListResponseHeadersPoliciesRequest {
|
|
64
|
+
Type?: ResponseHeadersPolicyType | undefined;
|
|
65
|
+
Marker?: string | undefined;
|
|
66
|
+
MaxItems?: number | undefined;
|
|
67
|
+
}
|
|
68
|
+
export interface ResponseHeadersPolicySummary {
|
|
69
|
+
Type: ResponseHeadersPolicyType | undefined;
|
|
70
|
+
ResponseHeadersPolicy: ResponseHeadersPolicy | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface ResponseHeadersPolicyList {
|
|
73
|
+
NextMarker?: string | undefined;
|
|
74
|
+
MaxItems: number | undefined;
|
|
75
|
+
Quantity: number | undefined;
|
|
76
|
+
Items?: ResponseHeadersPolicySummary[] | undefined;
|
|
77
|
+
}
|
|
78
|
+
export interface ListResponseHeadersPoliciesResult {
|
|
79
|
+
ResponseHeadersPolicyList?: ResponseHeadersPolicyList | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface ListStreamingDistributionsRequest {
|
|
82
|
+
Marker?: string | undefined;
|
|
83
|
+
MaxItems?: number | undefined;
|
|
84
|
+
}
|
|
51
85
|
export interface StreamingDistributionSummary {
|
|
52
86
|
Id: string | undefined;
|
|
53
87
|
ARN: string | undefined;
|
|
@@ -89,6 +123,7 @@ export interface VpcOriginSummary {
|
|
|
89
123
|
CreatedTime: Date | undefined;
|
|
90
124
|
LastModifiedTime: Date | undefined;
|
|
91
125
|
Arn: string | undefined;
|
|
126
|
+
AccountId?: string | undefined;
|
|
92
127
|
OriginEndpointArn: string | undefined;
|
|
93
128
|
}
|
|
94
129
|
export interface VpcOriginList {
|
|
@@ -109,6 +144,13 @@ export interface PublishFunctionRequest {
|
|
|
109
144
|
export interface PublishFunctionResult {
|
|
110
145
|
FunctionSummary?: FunctionSummary | undefined;
|
|
111
146
|
}
|
|
147
|
+
export interface PutResourcePolicyRequest {
|
|
148
|
+
ResourceArn: string | undefined;
|
|
149
|
+
PolicyDocument: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface PutResourcePolicyResult {
|
|
152
|
+
ResourceArn?: string | undefined;
|
|
153
|
+
}
|
|
112
154
|
export interface TagResourceRequest {
|
|
113
155
|
Resource: string | undefined;
|
|
114
156
|
Tags: Tags | undefined;
|
|
@@ -142,6 +184,15 @@ export interface UntagResourceRequest {
|
|
|
142
184
|
Resource: string | undefined;
|
|
143
185
|
TagKeys: TagKeys | undefined;
|
|
144
186
|
}
|
|
187
|
+
export interface UpdateAnycastIpListRequest {
|
|
188
|
+
Id: string | undefined;
|
|
189
|
+
IpAddressType?: IpAddressType | undefined;
|
|
190
|
+
IfMatch: string | undefined;
|
|
191
|
+
}
|
|
192
|
+
export interface UpdateAnycastIpListResult {
|
|
193
|
+
AnycastIpList?: AnycastIpList | undefined;
|
|
194
|
+
ETag?: string | undefined;
|
|
195
|
+
}
|
|
145
196
|
export interface UpdateCachePolicyRequest {
|
|
146
197
|
CachePolicyConfig: CachePolicyConfig | undefined;
|
|
147
198
|
Id: string | undefined;
|