@aws-sdk/client-cloudfront 3.922.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 +5 -5
|
@@ -1,7 +1,117 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
|
-
import { Aliases, CachePolicy, CachePolicyConfig, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ConnectionGroup, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, Customizations, Distribution, DistributionConfig, DistributionTenant, DomainItem, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, KeyGroup, KeyGroupConfig, KeyValueStore, ManagedCertificateRequest, OriginAccessControl, OriginAccessControlConfig, Parameter, PriceClass, Tags, TrustedSigners } from "./models_0";
|
|
4
|
-
import { DistributionResourceId, EndPoint, OriginRequestPolicy, OriginRequestPolicyConfig, PublicKey, PublicKeyConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, S3Origin, StreamingDistribution, StreamingDistributionConfig, VpcOrigin, VpcOriginEndpointConfig } from "./models_1";
|
|
3
|
+
import { Aliases, AnycastIpList, CachePolicy, CachePolicyConfig, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ConnectionGroup, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, Customizations, Distribution, DistributionConfig, DistributionTenant, DomainItem, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, IpAddressType, KeyGroup, KeyGroupConfig, KeyValueStore, ManagedCertificateRequest, OriginAccessControl, OriginAccessControlConfig, Parameter, PriceClass, Tags, TrustedSigners } from "./models_0";
|
|
4
|
+
import { DistributionResourceId, EndPoint, OriginRequestPolicy, OriginRequestPolicyConfig, PublicKey, PublicKeyConfig, RealtimeLogConfig, RealtimeLogConfigs, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, S3Origin, StreamingDistribution, StreamingDistributionConfig, VpcOrigin, VpcOriginEndpointConfig } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ListRealtimeLogConfigsResult {
|
|
9
|
+
/**
|
|
10
|
+
* <p>A list of real-time log configurations.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
RealtimeLogConfigs?: RealtimeLogConfigs | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const ResponseHeadersPolicyType: {
|
|
20
|
+
readonly custom: "custom";
|
|
21
|
+
readonly managed: "managed";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ResponseHeadersPolicyType = (typeof ResponseHeadersPolicyType)[keyof typeof ResponseHeadersPolicyType];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export interface ListResponseHeadersPoliciesRequest {
|
|
31
|
+
/**
|
|
32
|
+
* <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>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
Type?: ResponseHeadersPolicyType | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <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>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
Marker?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The maximum number of response headers policies that you want to get in the response.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
MaxItems?: number | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* <p>Contains a response headers policy.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface ResponseHeadersPolicySummary {
|
|
52
|
+
/**
|
|
53
|
+
* <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>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
Type: ResponseHeadersPolicyType | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The response headers policy.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
ResponseHeadersPolicy: ResponseHeadersPolicy | undefined;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>A list of response headers policies.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface ResponseHeadersPolicyList {
|
|
68
|
+
/**
|
|
69
|
+
* <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>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
NextMarker?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The maximum number of response headers policies requested.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
MaxItems: number | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>The number of response headers policies returned.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
Quantity: number | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The response headers policies in the list.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
Items?: ResponseHeadersPolicySummary[] | undefined;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export interface ListResponseHeadersPoliciesResult {
|
|
93
|
+
/**
|
|
94
|
+
* <p>A list of response headers policies.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
ResponseHeadersPolicyList?: ResponseHeadersPolicyList | undefined;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* <p>The request to list your streaming distributions.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export interface ListStreamingDistributionsRequest {
|
|
104
|
+
/**
|
|
105
|
+
* <p>The value that you provided for the <code>Marker</code> request parameter.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
Marker?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The value that you provided for the <code>MaxItems</code> request parameter.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
MaxItems?: number | undefined;
|
|
114
|
+
}
|
|
5
115
|
/**
|
|
6
116
|
* <p>A summary of the information for a CloudFront streaming distribution.</p>
|
|
7
117
|
* @public
|
|
@@ -182,6 +292,11 @@ export interface VpcOriginSummary {
|
|
|
182
292
|
* @public
|
|
183
293
|
*/
|
|
184
294
|
Arn: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* <p>The account ID of the Amazon Web Services account that owns the VPC origin.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
AccountId?: string | undefined;
|
|
185
300
|
/**
|
|
186
301
|
* <p>The VPC origin summary origin endpoint ARN.</p>
|
|
187
302
|
* @public
|
|
@@ -259,6 +374,31 @@ export interface PublishFunctionResult {
|
|
|
259
374
|
*/
|
|
260
375
|
FunctionSummary?: FunctionSummary | undefined;
|
|
261
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
export interface PutResourcePolicyRequest {
|
|
381
|
+
/**
|
|
382
|
+
* <p>The Amazon Resource Name (ARN) of the CloudFront resource for which the policy is being created.</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
ResourceArn: string | undefined;
|
|
386
|
+
/**
|
|
387
|
+
* <p>The JSON-formatted resource policy to create.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
PolicyDocument: string | undefined;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
export interface PutResourcePolicyResult {
|
|
396
|
+
/**
|
|
397
|
+
* <p>The Amazon Resource Name (ARN) of the CloudFront resource for which the policy was created.</p>
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
ResourceArn?: string | undefined;
|
|
401
|
+
}
|
|
262
402
|
/**
|
|
263
403
|
* <p>The request to add tags to a CloudFront resource.</p>
|
|
264
404
|
* @public
|
|
@@ -381,6 +521,41 @@ export interface UntagResourceRequest {
|
|
|
381
521
|
*/
|
|
382
522
|
TagKeys: TagKeys | undefined;
|
|
383
523
|
}
|
|
524
|
+
/**
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
export interface UpdateAnycastIpListRequest {
|
|
528
|
+
/**
|
|
529
|
+
* <p>The ID of the Anycast static IP list.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
Id: string | undefined;
|
|
533
|
+
/**
|
|
534
|
+
* <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>
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
IpAddressType?: IpAddressType | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* <p>The current version (ETag value) of the Anycast static IP list that you are updating.</p>
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
IfMatch: string | undefined;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
export interface UpdateAnycastIpListResult {
|
|
548
|
+
/**
|
|
549
|
+
* <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>
|
|
550
|
+
* @public
|
|
551
|
+
*/
|
|
552
|
+
AnycastIpList?: AnycastIpList | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* <p>The current version of the Anycast static IP list.</p>
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
ETag?: string | undefined;
|
|
558
|
+
}
|
|
384
559
|
/**
|
|
385
560
|
* @public
|
|
386
561
|
*/
|
|
@@ -45,6 +45,7 @@ import { DeleteOriginAccessControlCommandInput, DeleteOriginAccessControlCommand
|
|
|
45
45
|
import { DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput } from "../commands/DeleteOriginRequestPolicyCommand";
|
|
46
46
|
import { DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput } from "../commands/DeletePublicKeyCommand";
|
|
47
47
|
import { DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutput } from "../commands/DeleteRealtimeLogConfigCommand";
|
|
48
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
|
|
48
49
|
import { DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput } from "../commands/DeleteResponseHeadersPolicyCommand";
|
|
49
50
|
import { DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput } from "../commands/DeleteStreamingDistributionCommand";
|
|
50
51
|
import { DeleteVpcOriginCommandInput, DeleteVpcOriginCommandOutput } from "../commands/DeleteVpcOriginCommand";
|
|
@@ -83,6 +84,7 @@ import { GetOriginRequestPolicyConfigCommandInput, GetOriginRequestPolicyConfigC
|
|
|
83
84
|
import { GetPublicKeyCommandInput, GetPublicKeyCommandOutput } from "../commands/GetPublicKeyCommand";
|
|
84
85
|
import { GetPublicKeyConfigCommandInput, GetPublicKeyConfigCommandOutput } from "../commands/GetPublicKeyConfigCommand";
|
|
85
86
|
import { GetRealtimeLogConfigCommandInput, GetRealtimeLogConfigCommandOutput } from "../commands/GetRealtimeLogConfigCommand";
|
|
87
|
+
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
|
|
86
88
|
import { GetResponseHeadersPolicyCommandInput, GetResponseHeadersPolicyCommandOutput } from "../commands/GetResponseHeadersPolicyCommand";
|
|
87
89
|
import { GetResponseHeadersPolicyConfigCommandInput, GetResponseHeadersPolicyConfigCommandOutput } from "../commands/GetResponseHeadersPolicyConfigCommand";
|
|
88
90
|
import { GetStreamingDistributionCommandInput, GetStreamingDistributionCommandOutput } from "../commands/GetStreamingDistributionCommand";
|
|
@@ -99,6 +101,7 @@ import { ListDistributionsByCachePolicyIdCommandInput, ListDistributionsByCacheP
|
|
|
99
101
|
import { ListDistributionsByConnectionModeCommandInput, ListDistributionsByConnectionModeCommandOutput } from "../commands/ListDistributionsByConnectionModeCommand";
|
|
100
102
|
import { ListDistributionsByKeyGroupCommandInput, ListDistributionsByKeyGroupCommandOutput } from "../commands/ListDistributionsByKeyGroupCommand";
|
|
101
103
|
import { ListDistributionsByOriginRequestPolicyIdCommandInput, ListDistributionsByOriginRequestPolicyIdCommandOutput } from "../commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
104
|
+
import { ListDistributionsByOwnedResourceCommandInput, ListDistributionsByOwnedResourceCommandOutput } from "../commands/ListDistributionsByOwnedResourceCommand";
|
|
102
105
|
import { ListDistributionsByRealtimeLogConfigCommandInput, ListDistributionsByRealtimeLogConfigCommandOutput } from "../commands/ListDistributionsByRealtimeLogConfigCommand";
|
|
103
106
|
import { ListDistributionsByResponseHeadersPolicyIdCommandInput, ListDistributionsByResponseHeadersPolicyIdCommandOutput } from "../commands/ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
104
107
|
import { ListDistributionsByVpcOriginIdCommandInput, ListDistributionsByVpcOriginIdCommandOutput } from "../commands/ListDistributionsByVpcOriginIdCommand";
|
|
@@ -123,9 +126,11 @@ import { ListStreamingDistributionsCommandInput, ListStreamingDistributionsComma
|
|
|
123
126
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
124
127
|
import { ListVpcOriginsCommandInput, ListVpcOriginsCommandOutput } from "../commands/ListVpcOriginsCommand";
|
|
125
128
|
import { PublishFunctionCommandInput, PublishFunctionCommandOutput } from "../commands/PublishFunctionCommand";
|
|
129
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
|
|
126
130
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
127
131
|
import { TestFunctionCommandInput, TestFunctionCommandOutput } from "../commands/TestFunctionCommand";
|
|
128
132
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
133
|
+
import { UpdateAnycastIpListCommandInput, UpdateAnycastIpListCommandOutput } from "../commands/UpdateAnycastIpListCommand";
|
|
129
134
|
import { UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput } from "../commands/UpdateCachePolicyCommand";
|
|
130
135
|
import { UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput } from "../commands/UpdateCloudFrontOriginAccessIdentityCommand";
|
|
131
136
|
import { UpdateConnectionGroupCommandInput, UpdateConnectionGroupCommandOutput } from "../commands/UpdateConnectionGroupCommand";
|
|
@@ -327,6 +332,10 @@ export declare const se_DeletePublicKeyCommand: (input: DeletePublicKeyCommandIn
|
|
|
327
332
|
* serializeAws_restXmlDeleteRealtimeLogConfigCommand
|
|
328
333
|
*/
|
|
329
334
|
export declare const se_DeleteRealtimeLogConfigCommand: (input: DeleteRealtimeLogConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
335
|
+
/**
|
|
336
|
+
* serializeAws_restXmlDeleteResourcePolicyCommand
|
|
337
|
+
*/
|
|
338
|
+
export declare const se_DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
330
339
|
/**
|
|
331
340
|
* serializeAws_restXmlDeleteResponseHeadersPolicyCommand
|
|
332
341
|
*/
|
|
@@ -479,6 +488,10 @@ export declare const se_GetPublicKeyConfigCommand: (input: GetPublicKeyConfigCom
|
|
|
479
488
|
* serializeAws_restXmlGetRealtimeLogConfigCommand
|
|
480
489
|
*/
|
|
481
490
|
export declare const se_GetRealtimeLogConfigCommand: (input: GetRealtimeLogConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
491
|
+
/**
|
|
492
|
+
* serializeAws_restXmlGetResourcePolicyCommand
|
|
493
|
+
*/
|
|
494
|
+
export declare const se_GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
482
495
|
/**
|
|
483
496
|
* serializeAws_restXmlGetResponseHeadersPolicyCommand
|
|
484
497
|
*/
|
|
@@ -547,6 +560,10 @@ export declare const se_ListDistributionsByKeyGroupCommand: (input: ListDistribu
|
|
|
547
560
|
* serializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand
|
|
548
561
|
*/
|
|
549
562
|
export declare const se_ListDistributionsByOriginRequestPolicyIdCommand: (input: ListDistributionsByOriginRequestPolicyIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
563
|
+
/**
|
|
564
|
+
* serializeAws_restXmlListDistributionsByOwnedResourceCommand
|
|
565
|
+
*/
|
|
566
|
+
export declare const se_ListDistributionsByOwnedResourceCommand: (input: ListDistributionsByOwnedResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
550
567
|
/**
|
|
551
568
|
* serializeAws_restXmlListDistributionsByRealtimeLogConfigCommand
|
|
552
569
|
*/
|
|
@@ -639,6 +656,10 @@ export declare const se_ListVpcOriginsCommand: (input: ListVpcOriginsCommandInpu
|
|
|
639
656
|
* serializeAws_restXmlPublishFunctionCommand
|
|
640
657
|
*/
|
|
641
658
|
export declare const se_PublishFunctionCommand: (input: PublishFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
659
|
+
/**
|
|
660
|
+
* serializeAws_restXmlPutResourcePolicyCommand
|
|
661
|
+
*/
|
|
662
|
+
export declare const se_PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
642
663
|
/**
|
|
643
664
|
* serializeAws_restXmlTagResourceCommand
|
|
644
665
|
*/
|
|
@@ -651,6 +672,10 @@ export declare const se_TestFunctionCommand: (input: TestFunctionCommandInput, c
|
|
|
651
672
|
* serializeAws_restXmlUntagResourceCommand
|
|
652
673
|
*/
|
|
653
674
|
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
675
|
+
/**
|
|
676
|
+
* serializeAws_restXmlUpdateAnycastIpListCommand
|
|
677
|
+
*/
|
|
678
|
+
export declare const se_UpdateAnycastIpListCommand: (input: UpdateAnycastIpListCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
654
679
|
/**
|
|
655
680
|
* serializeAws_restXmlUpdateCachePolicyCommand
|
|
656
681
|
*/
|
|
@@ -915,6 +940,10 @@ export declare const de_DeletePublicKeyCommand: (output: __HttpResponse, context
|
|
|
915
940
|
* deserializeAws_restXmlDeleteRealtimeLogConfigCommand
|
|
916
941
|
*/
|
|
917
942
|
export declare const de_DeleteRealtimeLogConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRealtimeLogConfigCommandOutput>;
|
|
943
|
+
/**
|
|
944
|
+
* deserializeAws_restXmlDeleteResourcePolicyCommand
|
|
945
|
+
*/
|
|
946
|
+
export declare const de_DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
918
947
|
/**
|
|
919
948
|
* deserializeAws_restXmlDeleteResponseHeadersPolicyCommand
|
|
920
949
|
*/
|
|
@@ -1067,6 +1096,10 @@ export declare const de_GetPublicKeyConfigCommand: (output: __HttpResponse, cont
|
|
|
1067
1096
|
* deserializeAws_restXmlGetRealtimeLogConfigCommand
|
|
1068
1097
|
*/
|
|
1069
1098
|
export declare const de_GetRealtimeLogConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRealtimeLogConfigCommandOutput>;
|
|
1099
|
+
/**
|
|
1100
|
+
* deserializeAws_restXmlGetResourcePolicyCommand
|
|
1101
|
+
*/
|
|
1102
|
+
export declare const de_GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
|
|
1070
1103
|
/**
|
|
1071
1104
|
* deserializeAws_restXmlGetResponseHeadersPolicyCommand
|
|
1072
1105
|
*/
|
|
@@ -1135,6 +1168,10 @@ export declare const de_ListDistributionsByKeyGroupCommand: (output: __HttpRespo
|
|
|
1135
1168
|
* deserializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand
|
|
1136
1169
|
*/
|
|
1137
1170
|
export declare const de_ListDistributionsByOriginRequestPolicyIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDistributionsByOriginRequestPolicyIdCommandOutput>;
|
|
1171
|
+
/**
|
|
1172
|
+
* deserializeAws_restXmlListDistributionsByOwnedResourceCommand
|
|
1173
|
+
*/
|
|
1174
|
+
export declare const de_ListDistributionsByOwnedResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDistributionsByOwnedResourceCommandOutput>;
|
|
1138
1175
|
/**
|
|
1139
1176
|
* deserializeAws_restXmlListDistributionsByRealtimeLogConfigCommand
|
|
1140
1177
|
*/
|
|
@@ -1227,6 +1264,10 @@ export declare const de_ListVpcOriginsCommand: (output: __HttpResponse, context:
|
|
|
1227
1264
|
* deserializeAws_restXmlPublishFunctionCommand
|
|
1228
1265
|
*/
|
|
1229
1266
|
export declare const de_PublishFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishFunctionCommandOutput>;
|
|
1267
|
+
/**
|
|
1268
|
+
* deserializeAws_restXmlPutResourcePolicyCommand
|
|
1269
|
+
*/
|
|
1270
|
+
export declare const de_PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
|
|
1230
1271
|
/**
|
|
1231
1272
|
* deserializeAws_restXmlTagResourceCommand
|
|
1232
1273
|
*/
|
|
@@ -1239,6 +1280,10 @@ export declare const de_TestFunctionCommand: (output: __HttpResponse, context: _
|
|
|
1239
1280
|
* deserializeAws_restXmlUntagResourceCommand
|
|
1240
1281
|
*/
|
|
1241
1282
|
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
1283
|
+
/**
|
|
1284
|
+
* deserializeAws_restXmlUpdateAnycastIpListCommand
|
|
1285
|
+
*/
|
|
1286
|
+
export declare const de_UpdateAnycastIpListCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnycastIpListCommandOutput>;
|
|
1242
1287
|
/**
|
|
1243
1288
|
* deserializeAws_restXmlUpdateCachePolicyCommand
|
|
1244
1289
|
*/
|
|
@@ -180,6 +180,10 @@ import {
|
|
|
180
180
|
DeleteRealtimeLogConfigCommandInput,
|
|
181
181
|
DeleteRealtimeLogConfigCommandOutput,
|
|
182
182
|
} from "./commands/DeleteRealtimeLogConfigCommand";
|
|
183
|
+
import {
|
|
184
|
+
DeleteResourcePolicyCommandInput,
|
|
185
|
+
DeleteResourcePolicyCommandOutput,
|
|
186
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
183
187
|
import {
|
|
184
188
|
DeleteResponseHeadersPolicyCommandInput,
|
|
185
189
|
DeleteResponseHeadersPolicyCommandOutput,
|
|
@@ -332,6 +336,10 @@ import {
|
|
|
332
336
|
GetRealtimeLogConfigCommandInput,
|
|
333
337
|
GetRealtimeLogConfigCommandOutput,
|
|
334
338
|
} from "./commands/GetRealtimeLogConfigCommand";
|
|
339
|
+
import {
|
|
340
|
+
GetResourcePolicyCommandInput,
|
|
341
|
+
GetResourcePolicyCommandOutput,
|
|
342
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
335
343
|
import {
|
|
336
344
|
GetResponseHeadersPolicyCommandInput,
|
|
337
345
|
GetResponseHeadersPolicyCommandOutput,
|
|
@@ -396,6 +404,10 @@ import {
|
|
|
396
404
|
ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
397
405
|
ListDistributionsByOriginRequestPolicyIdCommandOutput,
|
|
398
406
|
} from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
407
|
+
import {
|
|
408
|
+
ListDistributionsByOwnedResourceCommandInput,
|
|
409
|
+
ListDistributionsByOwnedResourceCommandOutput,
|
|
410
|
+
} from "./commands/ListDistributionsByOwnedResourceCommand";
|
|
399
411
|
import {
|
|
400
412
|
ListDistributionsByRealtimeLogConfigCommandInput,
|
|
401
413
|
ListDistributionsByRealtimeLogConfigCommandOutput,
|
|
@@ -492,6 +504,10 @@ import {
|
|
|
492
504
|
PublishFunctionCommandInput,
|
|
493
505
|
PublishFunctionCommandOutput,
|
|
494
506
|
} from "./commands/PublishFunctionCommand";
|
|
507
|
+
import {
|
|
508
|
+
PutResourcePolicyCommandInput,
|
|
509
|
+
PutResourcePolicyCommandOutput,
|
|
510
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
495
511
|
import {
|
|
496
512
|
TagResourceCommandInput,
|
|
497
513
|
TagResourceCommandOutput,
|
|
@@ -504,6 +520,10 @@ import {
|
|
|
504
520
|
UntagResourceCommandInput,
|
|
505
521
|
UntagResourceCommandOutput,
|
|
506
522
|
} from "./commands/UntagResourceCommand";
|
|
523
|
+
import {
|
|
524
|
+
UpdateAnycastIpListCommandInput,
|
|
525
|
+
UpdateAnycastIpListCommandOutput,
|
|
526
|
+
} from "./commands/UpdateAnycastIpListCommand";
|
|
507
527
|
import {
|
|
508
528
|
UpdateCachePolicyCommandInput,
|
|
509
529
|
UpdateCachePolicyCommandOutput,
|
|
@@ -1217,6 +1237,19 @@ export interface CloudFront {
|
|
|
1217
1237
|
options: __HttpHandlerOptions,
|
|
1218
1238
|
cb: (err: any, data?: DeleteRealtimeLogConfigCommandOutput) => void
|
|
1219
1239
|
): void;
|
|
1240
|
+
deleteResourcePolicy(
|
|
1241
|
+
args: DeleteResourcePolicyCommandInput,
|
|
1242
|
+
options?: __HttpHandlerOptions
|
|
1243
|
+
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
1244
|
+
deleteResourcePolicy(
|
|
1245
|
+
args: DeleteResourcePolicyCommandInput,
|
|
1246
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
1247
|
+
): void;
|
|
1248
|
+
deleteResourcePolicy(
|
|
1249
|
+
args: DeleteResourcePolicyCommandInput,
|
|
1250
|
+
options: __HttpHandlerOptions,
|
|
1251
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
1252
|
+
): void;
|
|
1220
1253
|
deleteResponseHeadersPolicy(
|
|
1221
1254
|
args: DeleteResponseHeadersPolicyCommandInput,
|
|
1222
1255
|
options?: __HttpHandlerOptions
|
|
@@ -1754,6 +1787,19 @@ export interface CloudFront {
|
|
|
1754
1787
|
options: __HttpHandlerOptions,
|
|
1755
1788
|
cb: (err: any, data?: GetRealtimeLogConfigCommandOutput) => void
|
|
1756
1789
|
): void;
|
|
1790
|
+
getResourcePolicy(
|
|
1791
|
+
args: GetResourcePolicyCommandInput,
|
|
1792
|
+
options?: __HttpHandlerOptions
|
|
1793
|
+
): Promise<GetResourcePolicyCommandOutput>;
|
|
1794
|
+
getResourcePolicy(
|
|
1795
|
+
args: GetResourcePolicyCommandInput,
|
|
1796
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
1797
|
+
): void;
|
|
1798
|
+
getResourcePolicy(
|
|
1799
|
+
args: GetResourcePolicyCommandInput,
|
|
1800
|
+
options: __HttpHandlerOptions,
|
|
1801
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
1802
|
+
): void;
|
|
1757
1803
|
getResponseHeadersPolicy(
|
|
1758
1804
|
args: GetResponseHeadersPolicyCommandInput,
|
|
1759
1805
|
options?: __HttpHandlerOptions
|
|
@@ -2005,6 +2051,19 @@ export interface CloudFront {
|
|
|
2005
2051
|
data?: ListDistributionsByOriginRequestPolicyIdCommandOutput
|
|
2006
2052
|
) => void
|
|
2007
2053
|
): void;
|
|
2054
|
+
listDistributionsByOwnedResource(
|
|
2055
|
+
args: ListDistributionsByOwnedResourceCommandInput,
|
|
2056
|
+
options?: __HttpHandlerOptions
|
|
2057
|
+
): Promise<ListDistributionsByOwnedResourceCommandOutput>;
|
|
2058
|
+
listDistributionsByOwnedResource(
|
|
2059
|
+
args: ListDistributionsByOwnedResourceCommandInput,
|
|
2060
|
+
cb: (err: any, data?: ListDistributionsByOwnedResourceCommandOutput) => void
|
|
2061
|
+
): void;
|
|
2062
|
+
listDistributionsByOwnedResource(
|
|
2063
|
+
args: ListDistributionsByOwnedResourceCommandInput,
|
|
2064
|
+
options: __HttpHandlerOptions,
|
|
2065
|
+
cb: (err: any, data?: ListDistributionsByOwnedResourceCommandOutput) => void
|
|
2066
|
+
): void;
|
|
2008
2067
|
listDistributionsByRealtimeLogConfig(): Promise<ListDistributionsByRealtimeLogConfigCommandOutput>;
|
|
2009
2068
|
listDistributionsByRealtimeLogConfig(
|
|
2010
2069
|
args: ListDistributionsByRealtimeLogConfigCommandInput,
|
|
@@ -2343,6 +2402,19 @@ export interface CloudFront {
|
|
|
2343
2402
|
options: __HttpHandlerOptions,
|
|
2344
2403
|
cb: (err: any, data?: PublishFunctionCommandOutput) => void
|
|
2345
2404
|
): void;
|
|
2405
|
+
putResourcePolicy(
|
|
2406
|
+
args: PutResourcePolicyCommandInput,
|
|
2407
|
+
options?: __HttpHandlerOptions
|
|
2408
|
+
): Promise<PutResourcePolicyCommandOutput>;
|
|
2409
|
+
putResourcePolicy(
|
|
2410
|
+
args: PutResourcePolicyCommandInput,
|
|
2411
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
2412
|
+
): void;
|
|
2413
|
+
putResourcePolicy(
|
|
2414
|
+
args: PutResourcePolicyCommandInput,
|
|
2415
|
+
options: __HttpHandlerOptions,
|
|
2416
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
2417
|
+
): void;
|
|
2346
2418
|
tagResource(
|
|
2347
2419
|
args: TagResourceCommandInput,
|
|
2348
2420
|
options?: __HttpHandlerOptions
|
|
@@ -2382,6 +2454,19 @@ export interface CloudFront {
|
|
|
2382
2454
|
options: __HttpHandlerOptions,
|
|
2383
2455
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
2384
2456
|
): void;
|
|
2457
|
+
updateAnycastIpList(
|
|
2458
|
+
args: UpdateAnycastIpListCommandInput,
|
|
2459
|
+
options?: __HttpHandlerOptions
|
|
2460
|
+
): Promise<UpdateAnycastIpListCommandOutput>;
|
|
2461
|
+
updateAnycastIpList(
|
|
2462
|
+
args: UpdateAnycastIpListCommandInput,
|
|
2463
|
+
cb: (err: any, data?: UpdateAnycastIpListCommandOutput) => void
|
|
2464
|
+
): void;
|
|
2465
|
+
updateAnycastIpList(
|
|
2466
|
+
args: UpdateAnycastIpListCommandInput,
|
|
2467
|
+
options: __HttpHandlerOptions,
|
|
2468
|
+
cb: (err: any, data?: UpdateAnycastIpListCommandOutput) => void
|
|
2469
|
+
): void;
|
|
2385
2470
|
updateCachePolicy(
|
|
2386
2471
|
args: UpdateCachePolicyCommandInput,
|
|
2387
2472
|
options?: __HttpHandlerOptions
|
|
@@ -225,6 +225,10 @@ import {
|
|
|
225
225
|
DeleteRealtimeLogConfigCommandInput,
|
|
226
226
|
DeleteRealtimeLogConfigCommandOutput,
|
|
227
227
|
} from "./commands/DeleteRealtimeLogConfigCommand";
|
|
228
|
+
import {
|
|
229
|
+
DeleteResourcePolicyCommandInput,
|
|
230
|
+
DeleteResourcePolicyCommandOutput,
|
|
231
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
228
232
|
import {
|
|
229
233
|
DeleteResponseHeadersPolicyCommandInput,
|
|
230
234
|
DeleteResponseHeadersPolicyCommandOutput,
|
|
@@ -377,6 +381,10 @@ import {
|
|
|
377
381
|
GetRealtimeLogConfigCommandInput,
|
|
378
382
|
GetRealtimeLogConfigCommandOutput,
|
|
379
383
|
} from "./commands/GetRealtimeLogConfigCommand";
|
|
384
|
+
import {
|
|
385
|
+
GetResourcePolicyCommandInput,
|
|
386
|
+
GetResourcePolicyCommandOutput,
|
|
387
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
380
388
|
import {
|
|
381
389
|
GetResponseHeadersPolicyCommandInput,
|
|
382
390
|
GetResponseHeadersPolicyCommandOutput,
|
|
@@ -441,6 +449,10 @@ import {
|
|
|
441
449
|
ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
442
450
|
ListDistributionsByOriginRequestPolicyIdCommandOutput,
|
|
443
451
|
} from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
452
|
+
import {
|
|
453
|
+
ListDistributionsByOwnedResourceCommandInput,
|
|
454
|
+
ListDistributionsByOwnedResourceCommandOutput,
|
|
455
|
+
} from "./commands/ListDistributionsByOwnedResourceCommand";
|
|
444
456
|
import {
|
|
445
457
|
ListDistributionsByRealtimeLogConfigCommandInput,
|
|
446
458
|
ListDistributionsByRealtimeLogConfigCommandOutput,
|
|
@@ -537,6 +549,10 @@ import {
|
|
|
537
549
|
PublishFunctionCommandInput,
|
|
538
550
|
PublishFunctionCommandOutput,
|
|
539
551
|
} from "./commands/PublishFunctionCommand";
|
|
552
|
+
import {
|
|
553
|
+
PutResourcePolicyCommandInput,
|
|
554
|
+
PutResourcePolicyCommandOutput,
|
|
555
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
540
556
|
import {
|
|
541
557
|
TagResourceCommandInput,
|
|
542
558
|
TagResourceCommandOutput,
|
|
@@ -549,6 +565,10 @@ import {
|
|
|
549
565
|
UntagResourceCommandInput,
|
|
550
566
|
UntagResourceCommandOutput,
|
|
551
567
|
} from "./commands/UntagResourceCommand";
|
|
568
|
+
import {
|
|
569
|
+
UpdateAnycastIpListCommandInput,
|
|
570
|
+
UpdateAnycastIpListCommandOutput,
|
|
571
|
+
} from "./commands/UpdateAnycastIpListCommand";
|
|
552
572
|
import {
|
|
553
573
|
UpdateCachePolicyCommandInput,
|
|
554
574
|
UpdateCachePolicyCommandOutput,
|
|
@@ -686,6 +706,7 @@ export type ServiceInputTypes =
|
|
|
686
706
|
| DeleteOriginRequestPolicyCommandInput
|
|
687
707
|
| DeletePublicKeyCommandInput
|
|
688
708
|
| DeleteRealtimeLogConfigCommandInput
|
|
709
|
+
| DeleteResourcePolicyCommandInput
|
|
689
710
|
| DeleteResponseHeadersPolicyCommandInput
|
|
690
711
|
| DeleteStreamingDistributionCommandInput
|
|
691
712
|
| DeleteVpcOriginCommandInput
|
|
@@ -724,6 +745,7 @@ export type ServiceInputTypes =
|
|
|
724
745
|
| GetPublicKeyCommandInput
|
|
725
746
|
| GetPublicKeyConfigCommandInput
|
|
726
747
|
| GetRealtimeLogConfigCommandInput
|
|
748
|
+
| GetResourcePolicyCommandInput
|
|
727
749
|
| GetResponseHeadersPolicyCommandInput
|
|
728
750
|
| GetResponseHeadersPolicyConfigCommandInput
|
|
729
751
|
| GetStreamingDistributionCommandInput
|
|
@@ -742,6 +764,7 @@ export type ServiceInputTypes =
|
|
|
742
764
|
| ListDistributionsByConnectionModeCommandInput
|
|
743
765
|
| ListDistributionsByKeyGroupCommandInput
|
|
744
766
|
| ListDistributionsByOriginRequestPolicyIdCommandInput
|
|
767
|
+
| ListDistributionsByOwnedResourceCommandInput
|
|
745
768
|
| ListDistributionsByRealtimeLogConfigCommandInput
|
|
746
769
|
| ListDistributionsByResponseHeadersPolicyIdCommandInput
|
|
747
770
|
| ListDistributionsByVpcOriginIdCommandInput
|
|
@@ -764,9 +787,11 @@ export type ServiceInputTypes =
|
|
|
764
787
|
| ListTagsForResourceCommandInput
|
|
765
788
|
| ListVpcOriginsCommandInput
|
|
766
789
|
| PublishFunctionCommandInput
|
|
790
|
+
| PutResourcePolicyCommandInput
|
|
767
791
|
| TagResourceCommandInput
|
|
768
792
|
| TestFunctionCommandInput
|
|
769
793
|
| UntagResourceCommandInput
|
|
794
|
+
| UpdateAnycastIpListCommandInput
|
|
770
795
|
| UpdateCachePolicyCommandInput
|
|
771
796
|
| UpdateCloudFrontOriginAccessIdentityCommandInput
|
|
772
797
|
| UpdateConnectionGroupCommandInput
|
|
@@ -834,6 +859,7 @@ export type ServiceOutputTypes =
|
|
|
834
859
|
| DeleteOriginRequestPolicyCommandOutput
|
|
835
860
|
| DeletePublicKeyCommandOutput
|
|
836
861
|
| DeleteRealtimeLogConfigCommandOutput
|
|
862
|
+
| DeleteResourcePolicyCommandOutput
|
|
837
863
|
| DeleteResponseHeadersPolicyCommandOutput
|
|
838
864
|
| DeleteStreamingDistributionCommandOutput
|
|
839
865
|
| DeleteVpcOriginCommandOutput
|
|
@@ -872,6 +898,7 @@ export type ServiceOutputTypes =
|
|
|
872
898
|
| GetPublicKeyCommandOutput
|
|
873
899
|
| GetPublicKeyConfigCommandOutput
|
|
874
900
|
| GetRealtimeLogConfigCommandOutput
|
|
901
|
+
| GetResourcePolicyCommandOutput
|
|
875
902
|
| GetResponseHeadersPolicyCommandOutput
|
|
876
903
|
| GetResponseHeadersPolicyConfigCommandOutput
|
|
877
904
|
| GetStreamingDistributionCommandOutput
|
|
@@ -890,6 +917,7 @@ export type ServiceOutputTypes =
|
|
|
890
917
|
| ListDistributionsByConnectionModeCommandOutput
|
|
891
918
|
| ListDistributionsByKeyGroupCommandOutput
|
|
892
919
|
| ListDistributionsByOriginRequestPolicyIdCommandOutput
|
|
920
|
+
| ListDistributionsByOwnedResourceCommandOutput
|
|
893
921
|
| ListDistributionsByRealtimeLogConfigCommandOutput
|
|
894
922
|
| ListDistributionsByResponseHeadersPolicyIdCommandOutput
|
|
895
923
|
| ListDistributionsByVpcOriginIdCommandOutput
|
|
@@ -912,9 +940,11 @@ export type ServiceOutputTypes =
|
|
|
912
940
|
| ListTagsForResourceCommandOutput
|
|
913
941
|
| ListVpcOriginsCommandOutput
|
|
914
942
|
| PublishFunctionCommandOutput
|
|
943
|
+
| PutResourcePolicyCommandOutput
|
|
915
944
|
| TagResourceCommandOutput
|
|
916
945
|
| TestFunctionCommandOutput
|
|
917
946
|
| UntagResourceCommandOutput
|
|
947
|
+
| UpdateAnycastIpListCommandOutput
|
|
918
948
|
| UpdateCachePolicyCommandOutput
|
|
919
949
|
| UpdateCloudFrontOriginAccessIdentityCommandOutput
|
|
920
950
|
| UpdateConnectionGroupCommandOutput
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { DeleteResourcePolicyRequest } from "../models/models_1";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteResourcePolicyCommandInput
|
|
12
|
+
extends DeleteResourcePolicyRequest {}
|
|
13
|
+
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {}
|
|
14
|
+
declare const DeleteResourcePolicyCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: DeleteResourcePolicyCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
DeleteResourcePolicyCommandInput,
|
|
19
|
+
DeleteResourcePolicyCommandOutput,
|
|
20
|
+
CloudFrontClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
new (
|
|
25
|
+
input: DeleteResourcePolicyCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
DeleteResourcePolicyCommandInput,
|
|
28
|
+
DeleteResourcePolicyCommandOutput,
|
|
29
|
+
CloudFrontClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
36
|
+
protected static __types: {
|
|
37
|
+
api: {
|
|
38
|
+
input: DeleteResourcePolicyRequest;
|
|
39
|
+
output: {};
|
|
40
|
+
};
|
|
41
|
+
sdk: {
|
|
42
|
+
input: DeleteResourcePolicyCommandInput;
|
|
43
|
+
output: DeleteResourcePolicyCommandOutput;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}
|