@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.
Files changed (112) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +977 -63
  3. package/dist-es/CloudFront.js +30 -0
  4. package/dist-es/commands/CreateConnectionFunctionCommand.js +16 -0
  5. package/dist-es/commands/CreateTrustStoreCommand.js +16 -0
  6. package/dist-es/commands/DeleteConnectionFunctionCommand.js +16 -0
  7. package/dist-es/commands/DeleteTrustStoreCommand.js +16 -0
  8. package/dist-es/commands/DescribeConnectionFunctionCommand.js +16 -0
  9. package/dist-es/commands/GetConnectionFunctionCommand.js +16 -0
  10. package/dist-es/commands/GetTrustStoreCommand.js +16 -0
  11. package/dist-es/commands/ListConnectionFunctionsCommand.js +16 -0
  12. package/dist-es/commands/ListDistributionsByConnectionFunctionCommand.js +16 -0
  13. package/dist-es/commands/ListDistributionsByTrustStoreCommand.js +16 -0
  14. package/dist-es/commands/ListTrustStoresCommand.js +16 -0
  15. package/dist-es/commands/PublishConnectionFunctionCommand.js +16 -0
  16. package/dist-es/commands/TestConnectionFunctionCommand.js +16 -0
  17. package/dist-es/commands/UpdateConnectionFunctionCommand.js +16 -0
  18. package/dist-es/commands/UpdateTrustStoreCommand.js +16 -0
  19. package/dist-es/commands/index.js +18 -3
  20. package/dist-es/models/enums.js +17 -8
  21. package/dist-es/models/errors.js +14 -14
  22. package/dist-es/pagination/ListConnectionFunctionsPaginator.js +4 -0
  23. package/dist-es/pagination/ListDistributionsByConnectionFunctionPaginator.js +4 -0
  24. package/dist-es/pagination/ListDistributionsByTrustStorePaginator.js +4 -0
  25. package/dist-es/pagination/ListTrustStoresPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +4 -0
  27. package/dist-es/schemas/schemas_0.js +708 -27
  28. package/dist-types/CloudFront.d.ts +107 -0
  29. package/dist-types/CloudFrontClient.d.ts +17 -2
  30. package/dist-types/commands/CopyDistributionCommand.d.ts +11 -0
  31. package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +138 -0
  32. package/dist-types/commands/CreateDistributionCommand.d.ts +22 -0
  33. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +22 -0
  34. package/dist-types/commands/CreateTrustStoreCommand.d.ts +117 -0
  35. package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +94 -0
  36. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +91 -0
  37. package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +108 -0
  38. package/dist-types/commands/GetConnectionFunctionCommand.d.ts +93 -0
  39. package/dist-types/commands/GetDistributionCommand.d.ts +11 -0
  40. package/dist-types/commands/GetDistributionConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  43. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
  44. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  45. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  46. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  47. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  49. package/dist-types/commands/GetTrustStoreCommand.d.ts +92 -0
  50. package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +108 -0
  51. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +11 -0
  52. package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +412 -0
  53. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +11 -0
  54. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  55. package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +412 -0
  56. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  57. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListTrustStoresCommand.d.ts +96 -0
  59. package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +113 -0
  60. package/dist-types/commands/TestConnectionFunctionCommand.d.ts +123 -0
  61. package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +130 -0
  62. package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
  63. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +11 -0
  64. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +107 -0
  65. package/dist-types/commands/index.d.ts +18 -3
  66. package/dist-types/models/enums.d.ts +49 -24
  67. package/dist-types/models/errors.d.ts +13 -13
  68. package/dist-types/models/models_0.d.ts +440 -288
  69. package/dist-types/models/models_1.d.ts +601 -2
  70. package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListTrustStoresPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +4 -0
  75. package/dist-types/schemas/schemas_0.d.ts +54 -0
  76. package/dist-types/ts3.4/CloudFront.d.ts +263 -0
  77. package/dist-types/ts3.4/CloudFrontClient.d.ts +90 -0
  78. package/dist-types/ts3.4/commands/CreateConnectionFunctionCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +50 -0
  80. package/dist-types/ts3.4/commands/DeleteConnectionFunctionCommand.d.ts +47 -0
  81. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +45 -0
  82. package/dist-types/ts3.4/commands/DescribeConnectionFunctionCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/GetConnectionFunctionCommand.d.ts +58 -0
  84. package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +47 -0
  93. package/dist-types/ts3.4/commands/ListConnectionFunctionsCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/ListDistributionsByConnectionFunctionCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/ListDistributionsByTrustStoreCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/PublishConnectionFunctionCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/TestConnectionFunctionCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/UpdateConnectionFunctionCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +50 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +18 -3
  102. package/dist-types/ts3.4/models/enums.d.ts +24 -11
  103. package/dist-types/ts3.4/models/errors.d.ts +8 -8
  104. package/dist-types/ts3.4/models/models_0.d.ts +117 -75
  105. package/dist-types/ts3.4/models/models_1.d.ts +165 -0
  106. package/dist-types/ts3.4/pagination/ListConnectionFunctionsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/ListDistributionsByTrustStorePaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
  112. package/package.json +5 -5
@@ -0,0 +1,138 @@
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 { CreateConnectionFunctionRequest, CreateConnectionFunctionResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateConnectionFunctionCommand}.
14
+ */
15
+ export interface CreateConnectionFunctionCommandInput extends CreateConnectionFunctionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateConnectionFunctionCommand}.
21
+ */
22
+ export interface CreateConnectionFunctionCommandOutput extends CreateConnectionFunctionResult, __MetadataBearer {
23
+ }
24
+ declare const CreateConnectionFunctionCommand_base: {
25
+ new (input: CreateConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionFunctionCommandInput, CreateConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectionFunctionCommandInput, CreateConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a connection function.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, CreateConnectionFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, CreateConnectionFunctionCommand } = 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 = { // CreateConnectionFunctionRequest
40
+ * Name: "STRING_VALUE", // required
41
+ * ConnectionFunctionConfig: { // FunctionConfig
42
+ * Comment: "STRING_VALUE", // required
43
+ * Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
44
+ * KeyValueStoreAssociations: { // KeyValueStoreAssociations
45
+ * Quantity: Number("int"), // required
46
+ * Items: [ // KeyValueStoreAssociationList
47
+ * { // KeyValueStoreAssociation
48
+ * KeyValueStoreARN: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * },
52
+ * },
53
+ * ConnectionFunctionCode: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
54
+ * Tags: { // Tags
55
+ * Items: [ // TagList
56
+ * { // Tag
57
+ * Key: "STRING_VALUE", // required
58
+ * Value: "STRING_VALUE",
59
+ * },
60
+ * ],
61
+ * },
62
+ * };
63
+ * const command = new CreateConnectionFunctionCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // CreateConnectionFunctionResult
66
+ * // ConnectionFunctionSummary: { // ConnectionFunctionSummary
67
+ * // Name: "STRING_VALUE", // required
68
+ * // Id: "STRING_VALUE", // required
69
+ * // ConnectionFunctionConfig: { // FunctionConfig
70
+ * // Comment: "STRING_VALUE", // required
71
+ * // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
72
+ * // KeyValueStoreAssociations: { // KeyValueStoreAssociations
73
+ * // Quantity: Number("int"), // required
74
+ * // Items: [ // KeyValueStoreAssociationList
75
+ * // { // KeyValueStoreAssociation
76
+ * // KeyValueStoreARN: "STRING_VALUE", // required
77
+ * // },
78
+ * // ],
79
+ * // },
80
+ * // },
81
+ * // ConnectionFunctionArn: "STRING_VALUE", // required
82
+ * // Status: "STRING_VALUE", // required
83
+ * // Stage: "DEVELOPMENT" || "LIVE", // required
84
+ * // CreatedTime: new Date("TIMESTAMP"), // required
85
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
86
+ * // },
87
+ * // Location: "STRING_VALUE",
88
+ * // ETag: "STRING_VALUE",
89
+ * // };
90
+ *
91
+ * ```
92
+ *
93
+ * @param CreateConnectionFunctionCommandInput - {@link CreateConnectionFunctionCommandInput}
94
+ * @returns {@link CreateConnectionFunctionCommandOutput}
95
+ * @see {@link CreateConnectionFunctionCommandInput} for command's `input` shape.
96
+ * @see {@link CreateConnectionFunctionCommandOutput} for command's `response` shape.
97
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
98
+ *
99
+ * @throws {@link AccessDenied} (client fault)
100
+ * <p>Access denied.</p>
101
+ *
102
+ * @throws {@link EntityAlreadyExists} (client fault)
103
+ * <p>The entity already exists. You must provide a unique entity.</p>
104
+ *
105
+ * @throws {@link EntityLimitExceeded} (client fault)
106
+ * <p>The entity limit has been exceeded.</p>
107
+ *
108
+ * @throws {@link EntitySizeLimitExceeded} (client fault)
109
+ * <p>The entity size limit was exceeded.</p>
110
+ *
111
+ * @throws {@link InvalidArgument} (client fault)
112
+ * <p>An argument is invalid.</p>
113
+ *
114
+ * @throws {@link InvalidTagging} (client fault)
115
+ * <p>The tagging specified is not valid.</p>
116
+ *
117
+ * @throws {@link UnsupportedOperation} (client fault)
118
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
119
+ *
120
+ * @throws {@link CloudFrontServiceException}
121
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
122
+ *
123
+ *
124
+ * @public
125
+ */
126
+ export declare class CreateConnectionFunctionCommand extends CreateConnectionFunctionCommand_base {
127
+ /** @internal type navigation helper, not in runtime. */
128
+ protected static __types: {
129
+ api: {
130
+ input: CreateConnectionFunctionRequest;
131
+ output: CreateConnectionFunctionResult;
132
+ };
133
+ sdk: {
134
+ input: CreateConnectionFunctionCommandInput;
135
+ output: CreateConnectionFunctionCommandOutput;
136
+ };
137
+ };
138
+ }
@@ -355,6 +355,17 @@ declare const CreateDistributionCommand_base: {
355
355
  * ],
356
356
  * },
357
357
  * ConnectionMode: "direct" || "tenant-only",
358
+ * ViewerMtlsConfig: { // ViewerMtlsConfig
359
+ * Mode: "required" || "optional",
360
+ * TrustStoreConfig: { // TrustStoreConfig
361
+ * TrustStoreId: "STRING_VALUE", // required
362
+ * AdvertiseTrustStoreCaNames: true || false,
363
+ * IgnoreCertificateExpiry: true || false,
364
+ * },
365
+ * },
366
+ * ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
367
+ * Id: "STRING_VALUE", // required
368
+ * },
358
369
  * },
359
370
  * };
360
371
  * const command = new CreateDistributionCommand(input);
@@ -715,6 +726,17 @@ declare const CreateDistributionCommand_base: {
715
726
  * // ],
716
727
  * // },
717
728
  * // ConnectionMode: "direct" || "tenant-only",
729
+ * // ViewerMtlsConfig: { // ViewerMtlsConfig
730
+ * // Mode: "required" || "optional",
731
+ * // TrustStoreConfig: { // TrustStoreConfig
732
+ * // TrustStoreId: "STRING_VALUE", // required
733
+ * // AdvertiseTrustStoreCaNames: true || false,
734
+ * // IgnoreCertificateExpiry: true || false,
735
+ * // },
736
+ * // },
737
+ * // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
738
+ * // Id: "STRING_VALUE", // required
739
+ * // },
718
740
  * // },
719
741
  * // AliasICPRecordals: [ // AliasICPRecordals
720
742
  * // { // AliasICPRecordal
@@ -356,6 +356,17 @@ declare const CreateDistributionWithTagsCommand_base: {
356
356
  * ],
357
357
  * },
358
358
  * ConnectionMode: "direct" || "tenant-only",
359
+ * ViewerMtlsConfig: { // ViewerMtlsConfig
360
+ * Mode: "required" || "optional",
361
+ * TrustStoreConfig: { // TrustStoreConfig
362
+ * TrustStoreId: "STRING_VALUE", // required
363
+ * AdvertiseTrustStoreCaNames: true || false,
364
+ * IgnoreCertificateExpiry: true || false,
365
+ * },
366
+ * },
367
+ * ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
368
+ * Id: "STRING_VALUE", // required
369
+ * },
359
370
  * },
360
371
  * Tags: { // Tags
361
372
  * Items: [ // TagList
@@ -725,6 +736,17 @@ declare const CreateDistributionWithTagsCommand_base: {
725
736
  * // ],
726
737
  * // },
727
738
  * // ConnectionMode: "direct" || "tenant-only",
739
+ * // ViewerMtlsConfig: { // ViewerMtlsConfig
740
+ * // Mode: "required" || "optional",
741
+ * // TrustStoreConfig: { // TrustStoreConfig
742
+ * // TrustStoreId: "STRING_VALUE", // required
743
+ * // AdvertiseTrustStoreCaNames: true || false,
744
+ * // IgnoreCertificateExpiry: true || false,
745
+ * // },
746
+ * // },
747
+ * // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
748
+ * // Id: "STRING_VALUE", // required
749
+ * // },
728
750
  * // },
729
751
  * // AliasICPRecordals: [ // AliasICPRecordals
730
752
  * // { // AliasICPRecordal
@@ -0,0 +1,117 @@
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 { CreateTrustStoreRequest, CreateTrustStoreResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateTrustStoreCommand}.
14
+ */
15
+ export interface CreateTrustStoreCommandInput extends CreateTrustStoreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateTrustStoreCommand}.
21
+ */
22
+ export interface CreateTrustStoreCommandOutput extends CreateTrustStoreResult, __MetadataBearer {
23
+ }
24
+ declare const CreateTrustStoreCommand_base: {
25
+ new (input: CreateTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTrustStoreCommandInput, CreateTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTrustStoreCommandInput, CreateTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates 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, CreateTrustStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, CreateTrustStoreCommand } = 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 = { // CreateTrustStoreRequest
40
+ * Name: "STRING_VALUE", // required
41
+ * CaCertificatesBundleSource: { // CaCertificatesBundleSource Union: only one key present
42
+ * CaCertificatesBundleS3Location: { // CaCertificatesBundleS3Location
43
+ * Bucket: "STRING_VALUE", // required
44
+ * Key: "STRING_VALUE", // required
45
+ * Region: "STRING_VALUE", // required
46
+ * Version: "STRING_VALUE",
47
+ * },
48
+ * },
49
+ * Tags: { // Tags
50
+ * Items: [ // TagList
51
+ * { // Tag
52
+ * Key: "STRING_VALUE", // required
53
+ * Value: "STRING_VALUE",
54
+ * },
55
+ * ],
56
+ * },
57
+ * };
58
+ * const command = new CreateTrustStoreCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // CreateTrustStoreResult
61
+ * // TrustStore: { // TrustStore
62
+ * // Id: "STRING_VALUE",
63
+ * // Arn: "STRING_VALUE",
64
+ * // Name: "STRING_VALUE",
65
+ * // Status: "pending" || "active" || "failed",
66
+ * // NumberOfCaCertificates: Number("int"),
67
+ * // LastModifiedTime: new Date("TIMESTAMP"),
68
+ * // Reason: "STRING_VALUE",
69
+ * // },
70
+ * // ETag: "STRING_VALUE",
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param CreateTrustStoreCommandInput - {@link CreateTrustStoreCommandInput}
76
+ * @returns {@link CreateTrustStoreCommandOutput}
77
+ * @see {@link CreateTrustStoreCommandInput} for command's `input` shape.
78
+ * @see {@link CreateTrustStoreCommandOutput} 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 EntityAlreadyExists} (client fault)
85
+ * <p>The entity already exists. You must provide a unique entity.</p>
86
+ *
87
+ * @throws {@link EntityLimitExceeded} (client fault)
88
+ * <p>The entity limit has been exceeded.</p>
89
+ *
90
+ * @throws {@link EntityNotFound} (client fault)
91
+ * <p>The entity was not found.</p>
92
+ *
93
+ * @throws {@link InvalidArgument} (client fault)
94
+ * <p>An argument is invalid.</p>
95
+ *
96
+ * @throws {@link InvalidTagging} (client fault)
97
+ * <p>The tagging specified is not valid.</p>
98
+ *
99
+ * @throws {@link CloudFrontServiceException}
100
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class CreateTrustStoreCommand extends CreateTrustStoreCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: CreateTrustStoreRequest;
110
+ output: CreateTrustStoreResult;
111
+ };
112
+ sdk: {
113
+ input: CreateTrustStoreCommandInput;
114
+ output: CreateTrustStoreCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -0,0 +1,94 @@
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 { DeleteConnectionFunctionRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteConnectionFunctionCommand}.
14
+ */
15
+ export interface DeleteConnectionFunctionCommandInput extends DeleteConnectionFunctionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteConnectionFunctionCommand}.
21
+ */
22
+ export interface DeleteConnectionFunctionCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteConnectionFunctionCommand_base: {
25
+ new (input: DeleteConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionFunctionCommandInput, DeleteConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionFunctionCommandInput, DeleteConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a connection function.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, DeleteConnectionFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, DeleteConnectionFunctionCommand } = 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 = { // DeleteConnectionFunctionRequest
40
+ * Id: "STRING_VALUE", // required
41
+ * IfMatch: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteConnectionFunctionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteConnectionFunctionCommandInput - {@link DeleteConnectionFunctionCommandInput}
50
+ * @returns {@link DeleteConnectionFunctionCommandOutput}
51
+ * @see {@link DeleteConnectionFunctionCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteConnectionFunctionCommandOutput} for command's `response` shape.
53
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDenied} (client fault)
56
+ * <p>Access denied.</p>
57
+ *
58
+ * @throws {@link CannotDeleteEntityWhileInUse} (client fault)
59
+ * <p>The entity cannot be deleted while it is in use.</p>
60
+ *
61
+ * @throws {@link EntityNotFound} (client fault)
62
+ * <p>The entity was not found.</p>
63
+ *
64
+ * @throws {@link InvalidArgument} (client fault)
65
+ * <p>An argument is invalid.</p>
66
+ *
67
+ * @throws {@link InvalidIfMatchVersion} (client fault)
68
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
69
+ *
70
+ * @throws {@link PreconditionFailed} (client fault)
71
+ * <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
72
+ *
73
+ * @throws {@link UnsupportedOperation} (client fault)
74
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
75
+ *
76
+ * @throws {@link CloudFrontServiceException}
77
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteConnectionFunctionCommand extends DeleteConnectionFunctionCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteConnectionFunctionRequest;
87
+ output: {};
88
+ };
89
+ sdk: {
90
+ input: DeleteConnectionFunctionCommandInput;
91
+ output: DeleteConnectionFunctionCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,91 @@
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 { DeleteTrustStoreRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteTrustStoreCommand}.
14
+ */
15
+ export interface DeleteTrustStoreCommandInput extends DeleteTrustStoreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteTrustStoreCommand}.
21
+ */
22
+ export interface DeleteTrustStoreCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteTrustStoreCommand_base: {
25
+ new (input: DeleteTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes 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, DeleteTrustStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, DeleteTrustStoreCommand } = 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 = { // DeleteTrustStoreRequest
40
+ * Id: "STRING_VALUE", // required
41
+ * IfMatch: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteTrustStoreCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteTrustStoreCommandInput - {@link DeleteTrustStoreCommandInput}
50
+ * @returns {@link DeleteTrustStoreCommandOutput}
51
+ * @see {@link DeleteTrustStoreCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteTrustStoreCommandOutput} for command's `response` shape.
53
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDenied} (client fault)
56
+ * <p>Access denied.</p>
57
+ *
58
+ * @throws {@link CannotDeleteEntityWhileInUse} (client fault)
59
+ * <p>The entity cannot be deleted while it is in use.</p>
60
+ *
61
+ * @throws {@link EntityNotFound} (client fault)
62
+ * <p>The entity was not found.</p>
63
+ *
64
+ * @throws {@link InvalidArgument} (client fault)
65
+ * <p>An argument is invalid.</p>
66
+ *
67
+ * @throws {@link InvalidIfMatchVersion} (client fault)
68
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
69
+ *
70
+ * @throws {@link PreconditionFailed} (client fault)
71
+ * <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
72
+ *
73
+ * @throws {@link CloudFrontServiceException}
74
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class DeleteTrustStoreCommand extends DeleteTrustStoreCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteTrustStoreRequest;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: DeleteTrustStoreCommandInput;
88
+ output: DeleteTrustStoreCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -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 { DescribeConnectionFunctionRequest, DescribeConnectionFunctionResult } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeConnectionFunctionCommand}.
14
+ */
15
+ export interface DescribeConnectionFunctionCommandInput extends DescribeConnectionFunctionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeConnectionFunctionCommand}.
21
+ */
22
+ export interface DescribeConnectionFunctionCommandOutput extends DescribeConnectionFunctionResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeConnectionFunctionCommand_base: {
25
+ new (input: DescribeConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeConnectionFunctionCommandInput, DescribeConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeConnectionFunctionCommandInput, DescribeConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes a connection function.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, DescribeConnectionFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, DescribeConnectionFunctionCommand } = 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 = { // DescribeConnectionFunctionRequest
40
+ * Identifier: "STRING_VALUE", // required
41
+ * Stage: "DEVELOPMENT" || "LIVE",
42
+ * };
43
+ * const command = new DescribeConnectionFunctionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DescribeConnectionFunctionResult
46
+ * // ConnectionFunctionSummary: { // ConnectionFunctionSummary
47
+ * // Name: "STRING_VALUE", // required
48
+ * // Id: "STRING_VALUE", // required
49
+ * // ConnectionFunctionConfig: { // FunctionConfig
50
+ * // Comment: "STRING_VALUE", // required
51
+ * // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
52
+ * // KeyValueStoreAssociations: { // KeyValueStoreAssociations
53
+ * // Quantity: Number("int"), // required
54
+ * // Items: [ // KeyValueStoreAssociationList
55
+ * // { // KeyValueStoreAssociation
56
+ * // KeyValueStoreARN: "STRING_VALUE", // required
57
+ * // },
58
+ * // ],
59
+ * // },
60
+ * // },
61
+ * // ConnectionFunctionArn: "STRING_VALUE", // required
62
+ * // Status: "STRING_VALUE", // required
63
+ * // Stage: "DEVELOPMENT" || "LIVE", // required
64
+ * // CreatedTime: new Date("TIMESTAMP"), // required
65
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
66
+ * // },
67
+ * // ETag: "STRING_VALUE",
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param DescribeConnectionFunctionCommandInput - {@link DescribeConnectionFunctionCommandInput}
73
+ * @returns {@link DescribeConnectionFunctionCommandOutput}
74
+ * @see {@link DescribeConnectionFunctionCommandInput} for command's `input` shape.
75
+ * @see {@link DescribeConnectionFunctionCommandOutput} for command's `response` shape.
76
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDenied} (client fault)
79
+ * <p>Access denied.</p>
80
+ *
81
+ * @throws {@link EntityNotFound} (client fault)
82
+ * <p>The entity was not found.</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 DescribeConnectionFunctionCommand extends DescribeConnectionFunctionCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: DescribeConnectionFunctionRequest;
101
+ output: DescribeConnectionFunctionResult;
102
+ };
103
+ sdk: {
104
+ input: DescribeConnectionFunctionCommandInput;
105
+ output: DescribeConnectionFunctionCommandOutput;
106
+ };
107
+ };
108
+ }