@aws-sdk/client-cloudfront 3.46.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist-cjs/models/models_0.js +4 -720
- package/dist-cjs/models/models_1.js +4 -52
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +0 -476
- package/dist-es/models/models_1.js +0 -32
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/CloudFrontClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -714
- package/dist-types/models/models_1.d.ts +0 -48
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -24
- package/dist-types/ts3.4/models/models_1.d.ts +0 -32
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +36 -36
|
@@ -37,12 +37,6 @@ export interface OriginRequestPolicyInUse extends __SmithyException, $MetadataBe
|
|
|
37
37
|
$fault: "client";
|
|
38
38
|
Message?: string;
|
|
39
39
|
}
|
|
40
|
-
export declare namespace OriginRequestPolicyInUse {
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
|
-
const filterSensitiveLog: (obj: OriginRequestPolicyInUse) => any;
|
|
45
|
-
}
|
|
46
40
|
export interface DeletePublicKeyRequest {
|
|
47
41
|
/**
|
|
48
42
|
* <p>The ID of the public key you want to remove from CloudFront.</p>
|
|
@@ -68,12 +62,6 @@ export interface PublicKeyInUse extends __SmithyException, $MetadataBearer {
|
|
|
68
62
|
$fault: "client";
|
|
69
63
|
Message?: string;
|
|
70
64
|
}
|
|
71
|
-
export declare namespace PublicKeyInUse {
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
const filterSensitiveLog: (obj: PublicKeyInUse) => any;
|
|
76
|
-
}
|
|
77
65
|
export interface DeleteRealtimeLogConfigRequest {
|
|
78
66
|
/**
|
|
79
67
|
* <p>The name of the real-time log configuration to delete.</p>
|
|
@@ -99,12 +87,6 @@ export interface RealtimeLogConfigInUse extends __SmithyException, $MetadataBear
|
|
|
99
87
|
$fault: "client";
|
|
100
88
|
Message?: string;
|
|
101
89
|
}
|
|
102
|
-
export declare namespace RealtimeLogConfigInUse {
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
const filterSensitiveLog: (obj: RealtimeLogConfigInUse) => any;
|
|
107
|
-
}
|
|
108
90
|
export interface DeleteResponseHeadersPolicyRequest {
|
|
109
91
|
/**
|
|
110
92
|
* <p>The identifier for the response headers policy that you are deleting.</p>
|
|
@@ -135,12 +117,6 @@ export interface ResponseHeadersPolicyInUse extends __SmithyException, $Metadata
|
|
|
135
117
|
$fault: "client";
|
|
136
118
|
Message?: string;
|
|
137
119
|
}
|
|
138
|
-
export declare namespace ResponseHeadersPolicyInUse {
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
*/
|
|
142
|
-
const filterSensitiveLog: (obj: ResponseHeadersPolicyInUse) => any;
|
|
143
|
-
}
|
|
144
120
|
/**
|
|
145
121
|
* <p>The request to delete a streaming distribution.</p>
|
|
146
122
|
*/
|
|
@@ -169,12 +145,6 @@ export interface NoSuchStreamingDistribution extends __SmithyException, $Metadat
|
|
|
169
145
|
$fault: "client";
|
|
170
146
|
Message?: string;
|
|
171
147
|
}
|
|
172
|
-
export declare namespace NoSuchStreamingDistribution {
|
|
173
|
-
/**
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
|
-
const filterSensitiveLog: (obj: NoSuchStreamingDistribution) => any;
|
|
177
|
-
}
|
|
178
148
|
/**
|
|
179
149
|
* <p>The specified CloudFront distribution is not disabled. You must disable
|
|
180
150
|
* the distribution before you can delete it.</p>
|
|
@@ -184,12 +154,6 @@ export interface StreamingDistributionNotDisabled extends __SmithyException, $Me
|
|
|
184
154
|
$fault: "client";
|
|
185
155
|
Message?: string;
|
|
186
156
|
}
|
|
187
|
-
export declare namespace StreamingDistributionNotDisabled {
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
const filterSensitiveLog: (obj: StreamingDistributionNotDisabled) => any;
|
|
192
|
-
}
|
|
193
157
|
export interface DescribeFunctionRequest {
|
|
194
158
|
/**
|
|
195
159
|
* <p>The name of the function that you are getting information about.</p>
|
|
@@ -618,12 +582,6 @@ export interface NoSuchInvalidation extends __SmithyException, $MetadataBearer {
|
|
|
618
582
|
$fault: "client";
|
|
619
583
|
Message?: string;
|
|
620
584
|
}
|
|
621
|
-
export declare namespace NoSuchInvalidation {
|
|
622
|
-
/**
|
|
623
|
-
* @internal
|
|
624
|
-
*/
|
|
625
|
-
const filterSensitiveLog: (obj: NoSuchInvalidation) => any;
|
|
626
|
-
}
|
|
627
585
|
export interface GetKeyGroupRequest {
|
|
628
586
|
/**
|
|
629
587
|
* <p>The identifier of the key group that you are getting. To get the identifier, use
|
|
@@ -2737,12 +2695,6 @@ export interface TestFunctionFailed extends __SmithyException, $MetadataBearer {
|
|
|
2737
2695
|
$fault: "server";
|
|
2738
2696
|
Message?: string;
|
|
2739
2697
|
}
|
|
2740
|
-
export declare namespace TestFunctionFailed {
|
|
2741
|
-
/**
|
|
2742
|
-
* @internal
|
|
2743
|
-
*/
|
|
2744
|
-
const filterSensitiveLog: (obj: TestFunctionFailed) => any;
|
|
2745
|
-
}
|
|
2746
2698
|
export interface TestFunctionRequest {
|
|
2747
2699
|
/**
|
|
2748
2700
|
* <p>The name of the function that you are testing.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { CloudFrontClientConfig } from "./CloudFrontClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { CloudFrontClientConfig } from "./CloudFrontClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateAliasCommandInput, AssociateAliasCommandOutput } from "./commands/AssociateAliasCommand";
|
|
10
10
|
import { CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput } from "./commands/CreateCachePolicyCommand";
|
|
@@ -143,6 +143,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
143
143
|
regionInfoProvider?: RegionInfoProvider;
|
|
144
144
|
|
|
145
145
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
146
|
+
|
|
147
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
146
148
|
}
|
|
147
149
|
declare type CloudFrontClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
148
150
|
|
|
@@ -15,10 +15,6 @@ export interface AccessDenied extends __SmithyException, $MetadataBearer {
|
|
|
15
15
|
$fault: "client";
|
|
16
16
|
Message?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare namespace AccessDenied {
|
|
19
|
-
|
|
20
|
-
const filterSensitiveLog: (obj: AccessDenied) => any;
|
|
21
|
-
}
|
|
22
18
|
|
|
23
19
|
export interface KeyPairIds {
|
|
24
20
|
|
|
@@ -142,50 +138,30 @@ export interface IllegalUpdate extends __SmithyException, $MetadataBearer {
|
|
|
142
138
|
$fault: "client";
|
|
143
139
|
Message?: string;
|
|
144
140
|
}
|
|
145
|
-
export declare namespace IllegalUpdate {
|
|
146
|
-
|
|
147
|
-
const filterSensitiveLog: (obj: IllegalUpdate) => any;
|
|
148
|
-
}
|
|
149
141
|
|
|
150
142
|
export interface InvalidArgument extends __SmithyException, $MetadataBearer {
|
|
151
143
|
name: "InvalidArgument";
|
|
152
144
|
$fault: "client";
|
|
153
145
|
Message?: string;
|
|
154
146
|
}
|
|
155
|
-
export declare namespace InvalidArgument {
|
|
156
|
-
|
|
157
|
-
const filterSensitiveLog: (obj: InvalidArgument) => any;
|
|
158
|
-
}
|
|
159
147
|
|
|
160
148
|
export interface NoSuchDistribution extends __SmithyException, $MetadataBearer {
|
|
161
149
|
name: "NoSuchDistribution";
|
|
162
150
|
$fault: "client";
|
|
163
151
|
Message?: string;
|
|
164
152
|
}
|
|
165
|
-
export declare namespace NoSuchDistribution {
|
|
166
|
-
|
|
167
|
-
const filterSensitiveLog: (obj: NoSuchDistribution) => any;
|
|
168
|
-
}
|
|
169
153
|
|
|
170
154
|
export interface TooManyDistributionCNAMEs extends __SmithyException, $MetadataBearer {
|
|
171
155
|
name: "TooManyDistributionCNAMEs";
|
|
172
156
|
$fault: "client";
|
|
173
157
|
Message?: string;
|
|
174
158
|
}
|
|
175
|
-
export declare namespace TooManyDistributionCNAMEs {
|
|
176
|
-
|
|
177
|
-
const filterSensitiveLog: (obj: TooManyDistributionCNAMEs) => any;
|
|
178
|
-
}
|
|
179
159
|
|
|
180
160
|
export interface BatchTooLarge extends __SmithyException, $MetadataBearer {
|
|
181
161
|
name: "BatchTooLarge";
|
|
182
162
|
$fault: "client";
|
|
183
163
|
Message?: string;
|
|
184
164
|
}
|
|
185
|
-
export declare namespace BatchTooLarge {
|
|
186
|
-
|
|
187
|
-
const filterSensitiveLog: (obj: BatchTooLarge) => any;
|
|
188
|
-
}
|
|
189
165
|
export declare type ItemSelection = "all" | "none" | "whitelist";
|
|
190
166
|
|
|
191
167
|
export interface CookieNames {
|
|
@@ -22,10 +22,6 @@ export interface OriginRequestPolicyInUse extends __SmithyException, $MetadataBe
|
|
|
22
22
|
$fault: "client";
|
|
23
23
|
Message?: string;
|
|
24
24
|
}
|
|
25
|
-
export declare namespace OriginRequestPolicyInUse {
|
|
26
|
-
|
|
27
|
-
const filterSensitiveLog: (obj: OriginRequestPolicyInUse) => any;
|
|
28
|
-
}
|
|
29
25
|
export interface DeletePublicKeyRequest {
|
|
30
26
|
|
|
31
27
|
Id: string | undefined;
|
|
@@ -42,10 +38,6 @@ export interface PublicKeyInUse extends __SmithyException, $MetadataBearer {
|
|
|
42
38
|
$fault: "client";
|
|
43
39
|
Message?: string;
|
|
44
40
|
}
|
|
45
|
-
export declare namespace PublicKeyInUse {
|
|
46
|
-
|
|
47
|
-
const filterSensitiveLog: (obj: PublicKeyInUse) => any;
|
|
48
|
-
}
|
|
49
41
|
export interface DeleteRealtimeLogConfigRequest {
|
|
50
42
|
|
|
51
43
|
Name?: string;
|
|
@@ -62,10 +54,6 @@ export interface RealtimeLogConfigInUse extends __SmithyException, $MetadataBear
|
|
|
62
54
|
$fault: "client";
|
|
63
55
|
Message?: string;
|
|
64
56
|
}
|
|
65
|
-
export declare namespace RealtimeLogConfigInUse {
|
|
66
|
-
|
|
67
|
-
const filterSensitiveLog: (obj: RealtimeLogConfigInUse) => any;
|
|
68
|
-
}
|
|
69
57
|
export interface DeleteResponseHeadersPolicyRequest {
|
|
70
58
|
|
|
71
59
|
Id: string | undefined;
|
|
@@ -82,10 +70,6 @@ export interface ResponseHeadersPolicyInUse extends __SmithyException, $Metadata
|
|
|
82
70
|
$fault: "client";
|
|
83
71
|
Message?: string;
|
|
84
72
|
}
|
|
85
|
-
export declare namespace ResponseHeadersPolicyInUse {
|
|
86
|
-
|
|
87
|
-
const filterSensitiveLog: (obj: ResponseHeadersPolicyInUse) => any;
|
|
88
|
-
}
|
|
89
73
|
|
|
90
74
|
export interface DeleteStreamingDistributionRequest {
|
|
91
75
|
|
|
@@ -103,20 +87,12 @@ export interface NoSuchStreamingDistribution extends __SmithyException, $Metadat
|
|
|
103
87
|
$fault: "client";
|
|
104
88
|
Message?: string;
|
|
105
89
|
}
|
|
106
|
-
export declare namespace NoSuchStreamingDistribution {
|
|
107
|
-
|
|
108
|
-
const filterSensitiveLog: (obj: NoSuchStreamingDistribution) => any;
|
|
109
|
-
}
|
|
110
90
|
|
|
111
91
|
export interface StreamingDistributionNotDisabled extends __SmithyException, $MetadataBearer {
|
|
112
92
|
name: "StreamingDistributionNotDisabled";
|
|
113
93
|
$fault: "client";
|
|
114
94
|
Message?: string;
|
|
115
95
|
}
|
|
116
|
-
export declare namespace StreamingDistributionNotDisabled {
|
|
117
|
-
|
|
118
|
-
const filterSensitiveLog: (obj: StreamingDistributionNotDisabled) => any;
|
|
119
|
-
}
|
|
120
96
|
export interface DescribeFunctionRequest {
|
|
121
97
|
|
|
122
98
|
Name: string | undefined;
|
|
@@ -373,10 +349,6 @@ export interface NoSuchInvalidation extends __SmithyException, $MetadataBearer {
|
|
|
373
349
|
$fault: "client";
|
|
374
350
|
Message?: string;
|
|
375
351
|
}
|
|
376
|
-
export declare namespace NoSuchInvalidation {
|
|
377
|
-
|
|
378
|
-
const filterSensitiveLog: (obj: NoSuchInvalidation) => any;
|
|
379
|
-
}
|
|
380
352
|
export interface GetKeyGroupRequest {
|
|
381
353
|
|
|
382
354
|
Id: string | undefined;
|
|
@@ -1480,10 +1452,6 @@ export interface TestFunctionFailed extends __SmithyException, $MetadataBearer {
|
|
|
1480
1452
|
$fault: "server";
|
|
1481
1453
|
Message?: string;
|
|
1482
1454
|
}
|
|
1483
|
-
export declare namespace TestFunctionFailed {
|
|
1484
|
-
|
|
1485
|
-
const filterSensitiveLog: (obj: TestFunctionFailed) => any;
|
|
1486
|
-
}
|
|
1487
1455
|
export interface TestFunctionRequest {
|
|
1488
1456
|
|
|
1489
1457
|
Name: string | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { CloudFrontClientConfig } from "./CloudFrontClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { CloudFrontClientConfig } from "./CloudFrontClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,42 +18,44 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
52
|
-
"@aws-sdk/
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.47.0",
|
|
52
|
+
"@aws-sdk/xml-builder": "3.47.0",
|
|
53
53
|
"entities": "2.2.0",
|
|
54
54
|
"fast-xml-parser": "3.19.0",
|
|
55
55
|
"tslib": "^2.3.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
59
59
|
"@types/node": "^12.7.5"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|