@aws-sdk/client-cloudfront 3.937.0 → 3.940.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 +120 -0
- package/dist-cjs/index.js +977 -63
- package/dist-es/CloudFront.js +30 -0
- package/dist-es/commands/CreateConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/CreateTrustStoreCommand.js +16 -0
- package/dist-es/commands/DeleteConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/DeleteTrustStoreCommand.js +16 -0
- package/dist-es/commands/DescribeConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/GetConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/GetTrustStoreCommand.js +16 -0
- package/dist-es/commands/ListConnectionFunctionsCommand.js +16 -0
- package/dist-es/commands/ListDistributionsByConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/ListDistributionsByTrustStoreCommand.js +16 -0
- package/dist-es/commands/ListTrustStoresCommand.js +16 -0
- package/dist-es/commands/PublishConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/TestConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/UpdateConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/UpdateTrustStoreCommand.js +16 -0
- package/dist-es/commands/index.js +18 -3
- package/dist-es/models/enums.js +17 -8
- package/dist-es/models/errors.js +14 -14
- package/dist-es/pagination/ListConnectionFunctionsPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionsByConnectionFunctionPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionsByTrustStorePaginator.js +4 -0
- package/dist-es/pagination/ListTrustStoresPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +708 -27
- package/dist-types/CloudFront.d.ts +107 -0
- package/dist-types/CloudFrontClient.d.ts +17 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +11 -0
- package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +138 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +22 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +22 -0
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +117 -0
- package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +94 -0
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +91 -0
- package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +108 -0
- package/dist-types/commands/GetConnectionFunctionCommand.d.ts +93 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +11 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +11 -0
- package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +2 -1
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetTrustStoreCommand.d.ts +92 -0
- package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +108 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +412 -0
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +412 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
- package/dist-types/commands/ListTrustStoresCommand.d.ts +96 -0
- package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +113 -0
- package/dist-types/commands/TestConnectionFunctionCommand.d.ts +123 -0
- package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +130 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +11 -0
- package/dist-types/commands/UpdateTrustStoreCommand.d.ts +107 -0
- package/dist-types/commands/index.d.ts +18 -3
- package/dist-types/models/enums.d.ts +49 -24
- package/dist-types/models/errors.d.ts +13 -13
- package/dist-types/models/models_0.d.ts +440 -288
- package/dist-types/models/models_1.d.ts +601 -2
- package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustStoresPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +54 -0
- package/dist-types/ts3.4/CloudFront.d.ts +263 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +90 -0
- package/dist-types/ts3.4/commands/CreateConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteConnectionFunctionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DescribeConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionFunctionCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListConnectionFunctionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByTrustStoreCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PublishConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TestConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -3
- package/dist-types/ts3.4/models/enums.d.ts +24 -11
- package/dist-types/ts3.4/models/errors.d.ts +8 -8
- package/dist-types/ts3.4/models/models_0.d.ts +117 -75
- package/dist-types/ts3.4/models/models_1.d.ts +165 -0
- package/dist-types/ts3.4/pagination/ListConnectionFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionsByTrustStorePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
- package/package.json +5 -5
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
|
|
4
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
+
import { GetConnectionFunctionRequest, GetConnectionFunctionResult } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* The input for {@link GetConnectionFunctionCommand}.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetConnectionFunctionCommandInput extends GetConnectionFunctionRequest {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetConnectionFunctionCommandOutputType = Omit<GetConnectionFunctionResult, "ConnectionFunctionCode"> & {
|
|
22
|
+
ConnectionFunctionCode?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*
|
|
27
|
+
* The output of {@link GetConnectionFunctionCommand}.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetConnectionFunctionCommandOutput extends GetConnectionFunctionCommandOutputType, __MetadataBearer {
|
|
30
|
+
}
|
|
31
|
+
declare const GetConnectionFunctionCommand_base: {
|
|
32
|
+
new (input: GetConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionFunctionCommandInput, GetConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
+
new (input: GetConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectionFunctionCommandInput, GetConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* <p>Gets a connection function.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { CloudFrontClient, GetConnectionFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
42
|
+
* // const { CloudFrontClient, GetConnectionFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
43
|
+
* // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront";
|
|
44
|
+
* const config = {}; // type is CloudFrontClientConfig
|
|
45
|
+
* const client = new CloudFrontClient(config);
|
|
46
|
+
* const input = { // GetConnectionFunctionRequest
|
|
47
|
+
* Identifier: "STRING_VALUE", // required
|
|
48
|
+
* Stage: "DEVELOPMENT" || "LIVE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new GetConnectionFunctionCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // GetConnectionFunctionResult
|
|
53
|
+
* // ConnectionFunctionCode: new Uint8Array(),
|
|
54
|
+
* // ETag: "STRING_VALUE",
|
|
55
|
+
* // ContentType: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetConnectionFunctionCommandInput - {@link GetConnectionFunctionCommandInput}
|
|
61
|
+
* @returns {@link GetConnectionFunctionCommandOutput}
|
|
62
|
+
* @see {@link GetConnectionFunctionCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetConnectionFunctionCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDenied} (client fault)
|
|
67
|
+
* <p>Access denied.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
70
|
+
* <p>The entity was not found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
73
|
+
* <p>This operation is not supported in this Amazon Web Services Region.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CloudFrontServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class GetConnectionFunctionCommand extends GetConnectionFunctionCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetConnectionFunctionRequest;
|
|
86
|
+
output: GetConnectionFunctionResult;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetConnectionFunctionCommandInput;
|
|
90
|
+
output: GetConnectionFunctionCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -397,6 +397,17 @@ declare const GetDistributionCommand_base: {
|
|
|
397
397
|
* // ],
|
|
398
398
|
* // },
|
|
399
399
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
400
|
+
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
401
|
+
* // Mode: "required" || "optional",
|
|
402
|
+
* // TrustStoreConfig: { // TrustStoreConfig
|
|
403
|
+
* // TrustStoreId: "STRING_VALUE", // required
|
|
404
|
+
* // AdvertiseTrustStoreCaNames: true || false,
|
|
405
|
+
* // IgnoreCertificateExpiry: true || false,
|
|
406
|
+
* // },
|
|
407
|
+
* // },
|
|
408
|
+
* // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
|
|
409
|
+
* // Id: "STRING_VALUE", // required
|
|
410
|
+
* // },
|
|
400
411
|
* // },
|
|
401
412
|
* // AliasICPRecordals: [ // AliasICPRecordals
|
|
402
413
|
* // { // AliasICPRecordal
|
|
@@ -360,6 +360,17 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
360
360
|
* // ],
|
|
361
361
|
* // },
|
|
362
362
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
363
|
+
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
364
|
+
* // Mode: "required" || "optional",
|
|
365
|
+
* // TrustStoreConfig: { // TrustStoreConfig
|
|
366
|
+
* // TrustStoreId: "STRING_VALUE", // required
|
|
367
|
+
* // AdvertiseTrustStoreCaNames: true || false,
|
|
368
|
+
* // IgnoreCertificateExpiry: true || false,
|
|
369
|
+
* // },
|
|
370
|
+
* // },
|
|
371
|
+
* // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
|
|
372
|
+
* // Id: "STRING_VALUE", // required
|
|
373
|
+
* // },
|
|
363
374
|
* // },
|
|
364
375
|
* // ETag: "STRING_VALUE",
|
|
365
376
|
* // };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetManagedCertificateDetailsRequest
|
|
4
|
+
import { GetManagedCertificateDetailsRequest } from "../models/models_0";
|
|
5
|
+
import { GetManagedCertificateDetailsResult } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetMonitoringSubscriptionRequest, GetMonitoringSubscriptionResult } from "../models/
|
|
4
|
+
import { GetMonitoringSubscriptionRequest, GetMonitoringSubscriptionResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetOriginAccessControlRequest, GetOriginAccessControlResult } from "../models/
|
|
4
|
+
import { GetOriginAccessControlRequest, GetOriginAccessControlResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetOriginAccessControlConfigRequest, GetOriginAccessControlConfigResult } from "../models/
|
|
4
|
+
import { GetOriginAccessControlConfigRequest, GetOriginAccessControlConfigResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetOriginRequestPolicyRequest, GetOriginRequestPolicyResult } from "../models/
|
|
4
|
+
import { GetOriginRequestPolicyRequest, GetOriginRequestPolicyResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetOriginRequestPolicyConfigRequest, GetOriginRequestPolicyConfigResult } from "../models/
|
|
4
|
+
import { GetOriginRequestPolicyConfigRequest, GetOriginRequestPolicyConfigResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetPublicKeyRequest, GetPublicKeyResult } from "../models/
|
|
4
|
+
import { GetPublicKeyRequest, GetPublicKeyResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
-
import { GetPublicKeyConfigRequest, GetPublicKeyConfigResult } from "../models/
|
|
4
|
+
import { GetPublicKeyConfigRequest, GetPublicKeyConfigResult } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { GetTrustStoreRequest, GetTrustStoreResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetTrustStoreCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTrustStoreCommandInput extends GetTrustStoreRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTrustStoreCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTrustStoreCommandOutput extends GetTrustStoreResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTrustStoreCommand_base: {
|
|
25
|
+
new (input: GetTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<GetTrustStoreCommandInput, GetTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<GetTrustStoreCommandInput, GetTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets a trust store.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, GetTrustStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, GetTrustStoreCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront";
|
|
37
|
+
* const config = {}; // type is CloudFrontClientConfig
|
|
38
|
+
* const client = new CloudFrontClient(config);
|
|
39
|
+
* const input = { // GetTrustStoreRequest
|
|
40
|
+
* Identifier: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetTrustStoreCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetTrustStoreResult
|
|
45
|
+
* // TrustStore: { // TrustStore
|
|
46
|
+
* // Id: "STRING_VALUE",
|
|
47
|
+
* // Arn: "STRING_VALUE",
|
|
48
|
+
* // Name: "STRING_VALUE",
|
|
49
|
+
* // Status: "pending" || "active" || "failed",
|
|
50
|
+
* // NumberOfCaCertificates: Number("int"),
|
|
51
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // Reason: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ETag: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetTrustStoreCommandInput - {@link GetTrustStoreCommandInput}
|
|
60
|
+
* @returns {@link GetTrustStoreCommandOutput}
|
|
61
|
+
* @see {@link GetTrustStoreCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetTrustStoreCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDenied} (client fault)
|
|
66
|
+
* <p>Access denied.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
69
|
+
* <p>The entity was not found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
72
|
+
* <p>An argument is invalid.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link CloudFrontServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetTrustStoreCommand extends GetTrustStoreCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: GetTrustStoreRequest;
|
|
85
|
+
output: GetTrustStoreResult;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: GetTrustStoreCommandInput;
|
|
89
|
+
output: GetTrustStoreCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
4
|
+
import { ListConnectionFunctionsRequest, ListConnectionFunctionsResult } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConnectionFunctionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConnectionFunctionsCommandInput extends ListConnectionFunctionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConnectionFunctionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConnectionFunctionsCommandOutput extends ListConnectionFunctionsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConnectionFunctionsCommand_base: {
|
|
25
|
+
new (input: ListConnectionFunctionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectionFunctionsCommandInput, ListConnectionFunctionsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListConnectionFunctionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConnectionFunctionsCommandInput, ListConnectionFunctionsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists connection functions.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudFrontClient, ListConnectionFunctionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
|
+
* // const { CloudFrontClient, ListConnectionFunctionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
|
+
* // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront";
|
|
37
|
+
* const config = {}; // type is CloudFrontClientConfig
|
|
38
|
+
* const client = new CloudFrontClient(config);
|
|
39
|
+
* const input = { // ListConnectionFunctionsRequest
|
|
40
|
+
* Marker: "STRING_VALUE",
|
|
41
|
+
* MaxItems: Number("int"),
|
|
42
|
+
* Stage: "DEVELOPMENT" || "LIVE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListConnectionFunctionsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListConnectionFunctionsResult
|
|
47
|
+
* // NextMarker: "STRING_VALUE",
|
|
48
|
+
* // ConnectionFunctions: [ // ConnectionFunctionSummaryList
|
|
49
|
+
* // { // ConnectionFunctionSummary
|
|
50
|
+
* // Name: "STRING_VALUE", // required
|
|
51
|
+
* // Id: "STRING_VALUE", // required
|
|
52
|
+
* // ConnectionFunctionConfig: { // FunctionConfig
|
|
53
|
+
* // Comment: "STRING_VALUE", // required
|
|
54
|
+
* // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
|
|
55
|
+
* // KeyValueStoreAssociations: { // KeyValueStoreAssociations
|
|
56
|
+
* // Quantity: Number("int"), // required
|
|
57
|
+
* // Items: [ // KeyValueStoreAssociationList
|
|
58
|
+
* // { // KeyValueStoreAssociation
|
|
59
|
+
* // KeyValueStoreARN: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // ConnectionFunctionArn: "STRING_VALUE", // required
|
|
65
|
+
* // Status: "STRING_VALUE", // required
|
|
66
|
+
* // Stage: "DEVELOPMENT" || "LIVE", // required
|
|
67
|
+
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param ListConnectionFunctionsCommandInput - {@link ListConnectionFunctionsCommandInput}
|
|
76
|
+
* @returns {@link ListConnectionFunctionsCommandOutput}
|
|
77
|
+
* @see {@link ListConnectionFunctionsCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link ListConnectionFunctionsCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDenied} (client fault)
|
|
82
|
+
* <p>Access denied.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
85
|
+
* <p>An argument is invalid.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
88
|
+
* <p>This operation is not supported in this Amazon Web Services Region.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link CloudFrontServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ListConnectionFunctionsCommand extends ListConnectionFunctionsCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: ListConnectionFunctionsRequest;
|
|
101
|
+
output: ListConnectionFunctionsResult;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: ListConnectionFunctionsCommandInput;
|
|
105
|
+
output: ListConnectionFunctionsCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -358,6 +358,17 @@ declare const ListDistributionsByAnycastIpListIdCommand_base: {
|
|
|
358
358
|
* // Staging: true || false, // required
|
|
359
359
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
360
360
|
* // AnycastIpListId: "STRING_VALUE",
|
|
361
|
+
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
362
|
+
* // Mode: "required" || "optional",
|
|
363
|
+
* // TrustStoreConfig: { // TrustStoreConfig
|
|
364
|
+
* // TrustStoreId: "STRING_VALUE", // required
|
|
365
|
+
* // AdvertiseTrustStoreCaNames: true || false,
|
|
366
|
+
* // IgnoreCertificateExpiry: true || false,
|
|
367
|
+
* // },
|
|
368
|
+
* // },
|
|
369
|
+
* // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
|
|
370
|
+
* // Id: "STRING_VALUE", // required
|
|
371
|
+
* // },
|
|
361
372
|
* // },
|
|
362
373
|
* // ],
|
|
363
374
|
* // },
|