@aws-sdk/client-cloudfront 3.1042.0 → 3.1044.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/dist-cjs/schemas/schemas_0.js +4 -4
- package/dist-es/schemas/schemas_0.js +4 -4
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -0
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2487,8 +2487,8 @@ exports.CreateFieldLevelEncryptionProfileResult$ = [3, n0, _CFLEPRr,
|
|
|
2487
2487
|
];
|
|
2488
2488
|
exports.CreateFunctionRequest$ = [3, n0, _CFR,
|
|
2489
2489
|
0,
|
|
2490
|
-
[_N, _FC, _FCu],
|
|
2491
|
-
[0, [() => exports.FunctionConfig$, 0], [() => FunctionBlob, 0]], 3
|
|
2490
|
+
[_N, _FC, _FCu, _Ta],
|
|
2491
|
+
[0, [() => exports.FunctionConfig$, 0], [() => FunctionBlob, 0], [() => exports.Tags$, 0]], 3
|
|
2492
2492
|
];
|
|
2493
2493
|
exports.CreateFunctionResult$ = [3, n0, _CFRr,
|
|
2494
2494
|
0,
|
|
@@ -2527,8 +2527,8 @@ exports.CreateKeyGroupResult$ = [3, n0, _CKGRr,
|
|
|
2527
2527
|
];
|
|
2528
2528
|
exports.CreateKeyValueStoreRequest$ = [3, n0, _CKVSR,
|
|
2529
2529
|
0,
|
|
2530
|
-
[_N, _Co, _IS],
|
|
2531
|
-
[0, 0, () => exports.ImportSource
|
|
2530
|
+
[_N, _Co, _IS, _Ta],
|
|
2531
|
+
[0, 0, () => exports.ImportSource$, [() => exports.Tags$, 0]], 1
|
|
2532
2532
|
];
|
|
2533
2533
|
exports.CreateKeyValueStoreResult$ = [3, n0, _CKVSRr,
|
|
2534
2534
|
0,
|
|
@@ -2468,8 +2468,8 @@ export var CreateFieldLevelEncryptionProfileResult$ = [3, n0, _CFLEPRr,
|
|
|
2468
2468
|
];
|
|
2469
2469
|
export var CreateFunctionRequest$ = [3, n0, _CFR,
|
|
2470
2470
|
0,
|
|
2471
|
-
[_N, _FC, _FCu],
|
|
2472
|
-
[0, [() => FunctionConfig$, 0], [() => FunctionBlob, 0]], 3
|
|
2471
|
+
[_N, _FC, _FCu, _Ta],
|
|
2472
|
+
[0, [() => FunctionConfig$, 0], [() => FunctionBlob, 0], [() => Tags$, 0]], 3
|
|
2473
2473
|
];
|
|
2474
2474
|
export var CreateFunctionResult$ = [3, n0, _CFRr,
|
|
2475
2475
|
0,
|
|
@@ -2508,8 +2508,8 @@ export var CreateKeyGroupResult$ = [3, n0, _CKGRr,
|
|
|
2508
2508
|
];
|
|
2509
2509
|
export var CreateKeyValueStoreRequest$ = [3, n0, _CKVSR,
|
|
2510
2510
|
0,
|
|
2511
|
-
[_N, _Co, _IS],
|
|
2512
|
-
[0, 0, () => ImportSource
|
|
2511
|
+
[_N, _Co, _IS, _Ta],
|
|
2512
|
+
[0, 0, () => ImportSource$, [() => Tags$, 0]], 1
|
|
2513
2513
|
];
|
|
2514
2514
|
export var CreateKeyValueStoreResult$ = [3, n0, _CKVSRr,
|
|
2515
2515
|
0,
|
|
@@ -51,6 +51,14 @@ declare const CreateFunctionCommand_base: {
|
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
53
53
|
* FunctionCode: 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
|
+
* },
|
|
54
62
|
* };
|
|
55
63
|
* const command = new CreateFunctionCommand(input);
|
|
56
64
|
* const response = await client.send(command);
|
|
@@ -43,6 +43,14 @@ declare const CreateKeyValueStoreCommand_base: {
|
|
|
43
43
|
* SourceType: "S3", // required
|
|
44
44
|
* SourceARN: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
46
|
+
* Tags: { // Tags
|
|
47
|
+
* Items: [ // TagList
|
|
48
|
+
* { // Tag
|
|
49
|
+
* Key: "STRING_VALUE", // required
|
|
50
|
+
* Value: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
46
54
|
* };
|
|
47
55
|
* const command = new CreateKeyValueStoreCommand(input);
|
|
48
56
|
* const response = await client.send(command);
|
|
@@ -3227,6 +3227,11 @@ export interface CreateFunctionRequest {
|
|
|
3227
3227
|
* @public
|
|
3228
3228
|
*/
|
|
3229
3229
|
FunctionCode: Uint8Array | undefined;
|
|
3230
|
+
/**
|
|
3231
|
+
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
3232
|
+
* @public
|
|
3233
|
+
*/
|
|
3234
|
+
Tags?: Tags | undefined;
|
|
3230
3235
|
}
|
|
3231
3236
|
/**
|
|
3232
3237
|
* <p>Contains metadata about a CloudFront function.</p>
|
|
@@ -3527,6 +3532,11 @@ export interface CreateKeyValueStoreRequest {
|
|
|
3527
3532
|
* @public
|
|
3528
3533
|
*/
|
|
3529
3534
|
ImportSource?: ImportSource | undefined;
|
|
3535
|
+
/**
|
|
3536
|
+
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
3537
|
+
* @public
|
|
3538
|
+
*/
|
|
3539
|
+
Tags?: Tags | undefined;
|
|
3530
3540
|
}
|
|
3531
3541
|
/**
|
|
3532
3542
|
* <p>The key value store. Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The key value store holds keys and their corresponding values.</p>
|
|
@@ -828,6 +828,7 @@ export interface CreateFunctionRequest {
|
|
|
828
828
|
Name: string | undefined;
|
|
829
829
|
FunctionConfig: FunctionConfig | undefined;
|
|
830
830
|
FunctionCode: Uint8Array | undefined;
|
|
831
|
+
Tags?: Tags | undefined;
|
|
831
832
|
}
|
|
832
833
|
export interface FunctionMetadata {
|
|
833
834
|
FunctionARN: string | undefined;
|
|
@@ -902,6 +903,7 @@ export interface CreateKeyValueStoreRequest {
|
|
|
902
903
|
Name: string | undefined;
|
|
903
904
|
Comment?: string | undefined;
|
|
904
905
|
ImportSource?: ImportSource | undefined;
|
|
906
|
+
Tags?: Tags | undefined;
|
|
905
907
|
}
|
|
906
908
|
export interface KeyValueStore {
|
|
907
909
|
Name: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.1044.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|