cdk-lambda-subminute 2.0.305 → 2.0.306

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 (39) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +9 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.examples.json +251 -0
  6. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +349 -106
  7. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.paginators.json +6 -0
  8. package/node_modules/aws-sdk/apis/cloudfront-keyvaluestore-2022-07-26.examples.json +5 -0
  9. package/node_modules/aws-sdk/apis/cloudfront-keyvaluestore-2022-07-26.min.json +359 -0
  10. package/node_modules/aws-sdk/apis/cloudfront-keyvaluestore-2022-07-26.paginators.json +10 -0
  11. package/node_modules/aws-sdk/apis/inspector-scan-2023-08-08.examples.json +174 -0
  12. package/node_modules/aws-sdk/apis/inspector-scan-2023-08-08.min.json +51 -0
  13. package/node_modules/aws-sdk/apis/inspector-scan-2023-08-08.paginators.json +4 -0
  14. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.min.json +989 -176
  15. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.paginators.json +24 -0
  16. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +729 -131
  17. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.paginators.json +15 -0
  18. package/node_modules/aws-sdk/apis/metadata.json +8 -0
  19. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +152 -152
  20. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +109 -92
  21. package/node_modules/aws-sdk/clients/all.d.ts +2 -0
  22. package/node_modules/aws-sdk/clients/all.js +3 -1
  23. package/node_modules/aws-sdk/clients/cloudfront.d.ts +220 -2
  24. package/node_modules/aws-sdk/clients/cloudfrontkeyvaluestore.d.ts +294 -0
  25. package/node_modules/aws-sdk/clients/cloudfrontkeyvaluestore.js +18 -0
  26. package/node_modules/aws-sdk/clients/ec2.d.ts +12 -12
  27. package/node_modules/aws-sdk/clients/inspectorscan.d.ts +59 -0
  28. package/node_modules/aws-sdk/clients/inspectorscan.js +18 -0
  29. package/node_modules/aws-sdk/clients/iotsitewise.d.ts +1080 -179
  30. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +666 -9
  31. package/node_modules/aws-sdk/clients/s3.d.ts +38 -15
  32. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  33. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +85 -11
  34. package/node_modules/aws-sdk/dist/aws-sdk.js +508 -203
  35. package/node_modules/aws-sdk/dist/aws-sdk.min.js +93 -92
  36. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
  37. package/node_modules/aws-sdk/lib/core.js +1 -1
  38. package/node_modules/aws-sdk/package.json +1 -1
  39. package/package.json +2 -2
@@ -357,3 +357,5 @@ export import BedrockRuntime = require('./bedrockruntime');
357
357
  export import DataZone = require('./datazone');
358
358
  export import LaunchWizard = require('./launchwizard');
359
359
  export import TrustedAdvisor = require('./trustedadvisor');
360
+ export import CloudFrontKeyValueStore = require('./cloudfrontkeyvaluestore');
361
+ export import InspectorScan = require('./inspectorscan');
@@ -358,5 +358,7 @@ module.exports = {
358
358
  BedrockRuntime: require('./bedrockruntime'),
359
359
  DataZone: require('./datazone'),
360
360
  LaunchWizard: require('./launchwizard'),
361
- TrustedAdvisor: require('./trustedadvisor')
361
+ TrustedAdvisor: require('./trustedadvisor'),
362
+ CloudFrontKeyValueStore: require('./cloudfrontkeyvaluestore'),
363
+ InspectorScan: require('./inspectorscan')
362
364
  };
@@ -109,6 +109,14 @@ declare class CloudFront extends CloudFrontCustomizations {
109
109
  * Creates a key group that you can use with CloudFront signed URLs and signed cookies. To create a key group, you must specify at least one public key for the key group. After you create a key group, you can reference it from one or more cache behaviors. When you reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private content in the Amazon CloudFront Developer Guide.
110
110
  */
111
111
  createKeyGroup(callback?: (err: AWSError, data: CloudFront.Types.CreateKeyGroupResult) => void): Request<CloudFront.Types.CreateKeyGroupResult, AWSError>;
112
+ /**
113
+ * Specifies the Key Value Store resource to add to your account. In your account, the Key Value Store names must be unique. You can also import Key Value Store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.
114
+ */
115
+ createKeyValueStore(params: CloudFront.Types.CreateKeyValueStoreRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateKeyValueStoreResult) => void): Request<CloudFront.Types.CreateKeyValueStoreResult, AWSError>;
116
+ /**
117
+ * Specifies the Key Value Store resource to add to your account. In your account, the Key Value Store names must be unique. You can also import Key Value Store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.
118
+ */
119
+ createKeyValueStore(callback?: (err: AWSError, data: CloudFront.Types.CreateKeyValueStoreResult) => void): Request<CloudFront.Types.CreateKeyValueStoreResult, AWSError>;
112
120
  /**
113
121
  * Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost. For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide.
114
122
  */
@@ -237,6 +245,14 @@ declare class CloudFront extends CloudFrontCustomizations {
237
245
  * Deletes a key group. You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group. To delete a key group, you must provide the key group's identifier and version. To get these values, use ListKeyGroups followed by GetKeyGroup or GetKeyGroupConfig.
238
246
  */
239
247
  deleteKeyGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
248
+ /**
249
+ * Specifies the Key Value Store to delete.
250
+ */
251
+ deleteKeyValueStore(params: CloudFront.Types.DeleteKeyValueStoreRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
252
+ /**
253
+ * Specifies the Key Value Store to delete.
254
+ */
255
+ deleteKeyValueStore(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
240
256
  /**
241
257
  * Disables additional CloudWatch metrics for the specified CloudFront distribution.
242
258
  */
@@ -301,6 +317,14 @@ declare class CloudFront extends CloudFrontCustomizations {
301
317
  * Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use GetFunction. To get configuration information and metadata about a function, you must provide the function's name and stage. To get these values, you can use ListFunctions.
302
318
  */
303
319
  describeFunction(callback?: (err: AWSError, data: CloudFront.Types.DescribeFunctionResult) => void): Request<CloudFront.Types.DescribeFunctionResult, AWSError>;
320
+ /**
321
+ * Specifies the Key Value Store and its configuration.
322
+ */
323
+ describeKeyValueStore(params: CloudFront.Types.DescribeKeyValueStoreRequest, callback?: (err: AWSError, data: CloudFront.Types.DescribeKeyValueStoreResult) => void): Request<CloudFront.Types.DescribeKeyValueStoreResult, AWSError>;
324
+ /**
325
+ * Specifies the Key Value Store and its configuration.
326
+ */
327
+ describeKeyValueStore(callback?: (err: AWSError, data: CloudFront.Types.DescribeKeyValueStoreResult) => void): Request<CloudFront.Types.DescribeKeyValueStoreResult, AWSError>;
304
328
  /**
305
329
  * Gets a cache policy, including the following metadata: The policy's identifier. The date and time when the policy was last modified. To get a cache policy, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.
306
330
  */
@@ -653,6 +677,14 @@ declare class CloudFront extends CloudFrontCustomizations {
653
677
  * Gets a list of key groups. You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
654
678
  */
655
679
  listKeyGroups(callback?: (err: AWSError, data: CloudFront.Types.ListKeyGroupsResult) => void): Request<CloudFront.Types.ListKeyGroupsResult, AWSError>;
680
+ /**
681
+ * Specifies the Key Value Stores to list.
682
+ */
683
+ listKeyValueStores(params: CloudFront.Types.ListKeyValueStoresRequest, callback?: (err: AWSError, data: CloudFront.Types.ListKeyValueStoresResult) => void): Request<CloudFront.Types.ListKeyValueStoresResult, AWSError>;
684
+ /**
685
+ * Specifies the Key Value Stores to list.
686
+ */
687
+ listKeyValueStores(callback?: (err: AWSError, data: CloudFront.Types.ListKeyValueStoresResult) => void): Request<CloudFront.Types.ListKeyValueStoresResult, AWSError>;
656
688
  /**
657
689
  * Gets the list of CloudFront origin access controls in this Amazon Web Services account. You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send another request that specifies the NextMarker value from the current response as the Marker value in the next request.
658
690
  */
@@ -813,6 +845,14 @@ declare class CloudFront extends CloudFrontCustomizations {
813
845
  * Updates a key group. When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group: Get the current key group with GetKeyGroup or GetKeyGroupConfig. Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs. Call UpdateKeyGroup with the entire key group object, including the fields that you modified and those that you didn't.
814
846
  */
815
847
  updateKeyGroup(callback?: (err: AWSError, data: CloudFront.Types.UpdateKeyGroupResult) => void): Request<CloudFront.Types.UpdateKeyGroupResult, AWSError>;
848
+ /**
849
+ * Specifies the Key Value Store to update.
850
+ */
851
+ updateKeyValueStore(params: CloudFront.Types.UpdateKeyValueStoreRequest, callback?: (err: AWSError, data: CloudFront.Types.UpdateKeyValueStoreResult) => void): Request<CloudFront.Types.UpdateKeyValueStoreResult, AWSError>;
852
+ /**
853
+ * Specifies the Key Value Store to update.
854
+ */
855
+ updateKeyValueStore(callback?: (err: AWSError, data: CloudFront.Types.UpdateKeyValueStoreResult) => void): Request<CloudFront.Types.UpdateKeyValueStoreResult, AWSError>;
816
856
  /**
817
857
  * Updates a CloudFront origin access control.
818
858
  */
@@ -1624,6 +1664,34 @@ declare namespace CloudFront {
1624
1664
  */
1625
1665
  ETag?: string;
1626
1666
  }
1667
+ export interface CreateKeyValueStoreRequest {
1668
+ /**
1669
+ * The name of the Key Value Store. The maximum length of the name is 32 characters.
1670
+ */
1671
+ Name: KeyValueStoreName;
1672
+ /**
1673
+ * The comment of the Key Value Store.
1674
+ */
1675
+ Comment?: KeyValueStoreComment;
1676
+ /**
1677
+ * The S3 bucket that provides the source for the import. The source must be in a valid JSON format.
1678
+ */
1679
+ ImportSource?: ImportSource;
1680
+ }
1681
+ export interface CreateKeyValueStoreResult {
1682
+ /**
1683
+ * The resulting Key Value Store.
1684
+ */
1685
+ KeyValueStore?: KeyValueStore;
1686
+ /**
1687
+ * The ETag in the resulting Key Value Store.
1688
+ */
1689
+ ETag?: string;
1690
+ /**
1691
+ * The location of the resulting Key Value Store.
1692
+ */
1693
+ Location?: string;
1694
+ }
1627
1695
  export interface CreateMonitoringSubscriptionRequest {
1628
1696
  /**
1629
1697
  * The ID of the distribution that you are enabling metrics for.
@@ -2000,6 +2068,16 @@ declare namespace CloudFront {
2000
2068
  */
2001
2069
  IfMatch?: string;
2002
2070
  }
2071
+ export interface DeleteKeyValueStoreRequest {
2072
+ /**
2073
+ * The name of the Key Value Store.
2074
+ */
2075
+ Name: KeyValueStoreName;
2076
+ /**
2077
+ * The Key Value Store to delete, if a match occurs.
2078
+ */
2079
+ IfMatch: string;
2080
+ }
2003
2081
  export interface DeleteMonitoringSubscriptionRequest {
2004
2082
  /**
2005
2083
  * The ID of the distribution that you are disabling metrics for.
@@ -2088,6 +2166,22 @@ declare namespace CloudFront {
2088
2166
  */
2089
2167
  ETag?: string;
2090
2168
  }
2169
+ export interface DescribeKeyValueStoreRequest {
2170
+ /**
2171
+ * The name of the Key Value Store.
2172
+ */
2173
+ Name: KeyValueStoreName;
2174
+ }
2175
+ export interface DescribeKeyValueStoreResult {
2176
+ /**
2177
+ * The resulting Key Value Store.
2178
+ */
2179
+ KeyValueStore?: KeyValueStore;
2180
+ /**
2181
+ * The ETag of the resulting Key Value Store.
2182
+ */
2183
+ ETag?: string;
2184
+ }
2091
2185
  export interface Distribution {
2092
2186
  /**
2093
2187
  * The distribution's identifier. For example: E1U5RQF7T870K0.
@@ -2501,7 +2595,7 @@ declare namespace CloudFront {
2501
2595
  */
2502
2596
  Id: string;
2503
2597
  /**
2504
- * The time when the the field-level encryption profile summary was last updated.
2598
+ * The time when the field-level encryption profile summary was last updated.
2505
2599
  */
2506
2600
  LastModifiedTime: timestamp;
2507
2601
  /**
@@ -2602,9 +2696,13 @@ declare namespace CloudFront {
2602
2696
  */
2603
2697
  Comment: string;
2604
2698
  /**
2605
- * The function's runtime environment verion.
2699
+ * The function's runtime environment version.
2606
2700
  */
2607
2701
  Runtime: FunctionRuntime;
2702
+ /**
2703
+ * The configuration for the Key Value Store associations.
2704
+ */
2705
+ KeyValueStoreAssociations?: KeyValueStoreAssociations;
2608
2706
  }
2609
2707
  export type FunctionEventObject = Buffer|Uint8Array|Blob|string;
2610
2708
  export type FunctionExecutionLogList = string[];
@@ -3143,6 +3241,17 @@ declare namespace CloudFront {
3143
3241
  }
3144
3242
  export type HttpVersion = "http1.1"|"http2"|"http3"|"http2and3"|string;
3145
3243
  export type ICPRecordalStatus = "APPROVED"|"SUSPENDED"|"PENDING"|string;
3244
+ export interface ImportSource {
3245
+ /**
3246
+ * The source type of the import source for the Key Value Store.
3247
+ */
3248
+ SourceType: ImportSourceType;
3249
+ /**
3250
+ * The Amazon Resource Name (ARN) of the import source for the Key Value Store.
3251
+ */
3252
+ SourceARN: string;
3253
+ }
3254
+ export type ImportSourceType = "S3"|string;
3146
3255
  export interface Invalidation {
3147
3256
  /**
3148
3257
  * The identifier for the invalidation request. For example: IDFDVBD632BHDS5.
@@ -3285,6 +3394,71 @@ declare namespace CloudFront {
3285
3394
  */
3286
3395
  Items?: KeyPairIdList;
3287
3396
  }
3397
+ export interface KeyValueStore {
3398
+ /**
3399
+ * The name of the Key Value Store.
3400
+ */
3401
+ Name: string;
3402
+ /**
3403
+ * The unique Id for the Key Value Store.
3404
+ */
3405
+ Id: string;
3406
+ /**
3407
+ * A comment for the Key Value Store.
3408
+ */
3409
+ Comment: string;
3410
+ /**
3411
+ * The Amazon Resource Name (ARN) of the Key Value Store.
3412
+ */
3413
+ ARN: string;
3414
+ /**
3415
+ * The status of the Key Value Store.
3416
+ */
3417
+ Status?: string;
3418
+ /**
3419
+ * The last-modified time of the Key Value Store.
3420
+ */
3421
+ LastModifiedTime: timestamp;
3422
+ }
3423
+ export type KeyValueStoreARN = string;
3424
+ export interface KeyValueStoreAssociation {
3425
+ /**
3426
+ * The Amazon Resource Name (ARN) of the Key Value Store association.
3427
+ */
3428
+ KeyValueStoreARN: KeyValueStoreARN;
3429
+ }
3430
+ export type KeyValueStoreAssociationList = KeyValueStoreAssociation[];
3431
+ export interface KeyValueStoreAssociations {
3432
+ /**
3433
+ * The quantity of Key Value Store associations.
3434
+ */
3435
+ Quantity: integer;
3436
+ /**
3437
+ * The items of the Key Value Store association.
3438
+ */
3439
+ Items?: KeyValueStoreAssociationList;
3440
+ }
3441
+ export type KeyValueStoreComment = string;
3442
+ export interface KeyValueStoreList {
3443
+ /**
3444
+ * The next marker associated with the Key Value Store list.
3445
+ */
3446
+ NextMarker?: string;
3447
+ /**
3448
+ * The maximum number of items in the Key Value Store list.
3449
+ */
3450
+ MaxItems: integer;
3451
+ /**
3452
+ * The quantity of the Key Value Store list.
3453
+ */
3454
+ Quantity: integer;
3455
+ /**
3456
+ * The items of the Key Value Store list.
3457
+ */
3458
+ Items?: KeyValueStoreSummaryList;
3459
+ }
3460
+ export type KeyValueStoreName = string;
3461
+ export type KeyValueStoreSummaryList = KeyValueStore[];
3288
3462
  export interface KinesisStreamConfig {
3289
3463
  /**
3290
3464
  * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
@@ -3616,6 +3790,26 @@ declare namespace CloudFront {
3616
3790
  */
3617
3791
  KeyGroupList?: KeyGroupList;
3618
3792
  }
3793
+ export interface ListKeyValueStoresRequest {
3794
+ /**
3795
+ * The marker associated with the Key Value Stores list.
3796
+ */
3797
+ Marker?: string;
3798
+ /**
3799
+ * The maximum number of items in the Key Value Stores list.
3800
+ */
3801
+ MaxItems?: string;
3802
+ /**
3803
+ * The status of the request for the Key Value Stores list.
3804
+ */
3805
+ Status?: string;
3806
+ }
3807
+ export interface ListKeyValueStoresResult {
3808
+ /**
3809
+ * The resulting Key Value Stores list.
3810
+ */
3811
+ KeyValueStoreList?: KeyValueStoreList;
3812
+ }
3619
3813
  export interface ListOriginAccessControlsRequest {
3620
3814
  /**
3621
3815
  * Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
@@ -5183,6 +5377,30 @@ declare namespace CloudFront {
5183
5377
  */
5184
5378
  ETag?: string;
5185
5379
  }
5380
+ export interface UpdateKeyValueStoreRequest {
5381
+ /**
5382
+ * The name of the Key Value Store to update.
5383
+ */
5384
+ Name: KeyValueStoreName;
5385
+ /**
5386
+ * The comment of the Key Value Store to update.
5387
+ */
5388
+ Comment: KeyValueStoreComment;
5389
+ /**
5390
+ * The Key Value Store to update, if a match occurs.
5391
+ */
5392
+ IfMatch: string;
5393
+ }
5394
+ export interface UpdateKeyValueStoreResult {
5395
+ /**
5396
+ * The resulting Key Value Store to update.
5397
+ */
5398
+ KeyValueStore?: KeyValueStore;
5399
+ /**
5400
+ * The ETag of the resulting Key Value Store.
5401
+ */
5402
+ ETag?: string;
5403
+ }
5186
5404
  export interface UpdateOriginAccessControlRequest {
5187
5405
  /**
5188
5406
  * An origin access control.
@@ -0,0 +1,294 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class CloudFrontKeyValueStore extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: CloudFrontKeyValueStore.Types.ClientConfiguration)
13
+ config: Config & CloudFrontKeyValueStore.Types.ClientConfiguration;
14
+ /**
15
+ * Deletes the key value pair specified by the key.
16
+ */
17
+ deleteKey(params: CloudFrontKeyValueStore.Types.DeleteKeyRequest, callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.DeleteKeyResponse) => void): Request<CloudFrontKeyValueStore.Types.DeleteKeyResponse, AWSError>;
18
+ /**
19
+ * Deletes the key value pair specified by the key.
20
+ */
21
+ deleteKey(callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.DeleteKeyResponse) => void): Request<CloudFrontKeyValueStore.Types.DeleteKeyResponse, AWSError>;
22
+ /**
23
+ * Returns metadata information about Key Value Store.
24
+ */
25
+ describeKeyValueStore(params: CloudFrontKeyValueStore.Types.DescribeKeyValueStoreRequest, callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.DescribeKeyValueStoreResponse) => void): Request<CloudFrontKeyValueStore.Types.DescribeKeyValueStoreResponse, AWSError>;
26
+ /**
27
+ * Returns metadata information about Key Value Store.
28
+ */
29
+ describeKeyValueStore(callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.DescribeKeyValueStoreResponse) => void): Request<CloudFrontKeyValueStore.Types.DescribeKeyValueStoreResponse, AWSError>;
30
+ /**
31
+ * Returns a key value pair.
32
+ */
33
+ getKey(params: CloudFrontKeyValueStore.Types.GetKeyRequest, callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.GetKeyResponse) => void): Request<CloudFrontKeyValueStore.Types.GetKeyResponse, AWSError>;
34
+ /**
35
+ * Returns a key value pair.
36
+ */
37
+ getKey(callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.GetKeyResponse) => void): Request<CloudFrontKeyValueStore.Types.GetKeyResponse, AWSError>;
38
+ /**
39
+ * Returns a list of key value pairs.
40
+ */
41
+ listKeys(params: CloudFrontKeyValueStore.Types.ListKeysRequest, callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.ListKeysResponse) => void): Request<CloudFrontKeyValueStore.Types.ListKeysResponse, AWSError>;
42
+ /**
43
+ * Returns a list of key value pairs.
44
+ */
45
+ listKeys(callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.ListKeysResponse) => void): Request<CloudFrontKeyValueStore.Types.ListKeysResponse, AWSError>;
46
+ /**
47
+ * Creates a new key value pair or replaces the value of an existing key.
48
+ */
49
+ putKey(params: CloudFrontKeyValueStore.Types.PutKeyRequest, callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.PutKeyResponse) => void): Request<CloudFrontKeyValueStore.Types.PutKeyResponse, AWSError>;
50
+ /**
51
+ * Creates a new key value pair or replaces the value of an existing key.
52
+ */
53
+ putKey(callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.PutKeyResponse) => void): Request<CloudFrontKeyValueStore.Types.PutKeyResponse, AWSError>;
54
+ /**
55
+ * Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.
56
+ */
57
+ updateKeys(params: CloudFrontKeyValueStore.Types.UpdateKeysRequest, callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.UpdateKeysResponse) => void): Request<CloudFrontKeyValueStore.Types.UpdateKeysResponse, AWSError>;
58
+ /**
59
+ * Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.
60
+ */
61
+ updateKeys(callback?: (err: AWSError, data: CloudFrontKeyValueStore.Types.UpdateKeysResponse) => void): Request<CloudFrontKeyValueStore.Types.UpdateKeysResponse, AWSError>;
62
+ }
63
+ declare namespace CloudFrontKeyValueStore {
64
+ export interface DeleteKeyRequest {
65
+ /**
66
+ * The Amazon Resource Name (ARN) of the Key Value Store.
67
+ */
68
+ KvsARN: KvsARN;
69
+ /**
70
+ * The key to delete.
71
+ */
72
+ Key: Key;
73
+ /**
74
+ * The current version (ETag) of the Key Value Store that you are deleting keys from, which you can get using DescribeKeyValueStore.
75
+ */
76
+ IfMatch: Etag;
77
+ }
78
+ export interface DeleteKeyRequestListItem {
79
+ /**
80
+ * The key of the key value pair to be deleted.
81
+ */
82
+ Key: Key;
83
+ }
84
+ export type DeleteKeyRequestsList = DeleteKeyRequestListItem[];
85
+ export interface DeleteKeyResponse {
86
+ /**
87
+ * Number of key value pairs in the Key Value Store after the successful delete.
88
+ */
89
+ ItemCount: Integer;
90
+ /**
91
+ * Total size of the Key Value Store after the successful delete, in bytes.
92
+ */
93
+ TotalSizeInBytes: Long;
94
+ /**
95
+ * The current version identifier of the Key Value Store after the successful delete.
96
+ */
97
+ ETag: Etag;
98
+ }
99
+ export interface DescribeKeyValueStoreRequest {
100
+ /**
101
+ * The Amazon Resource Name (ARN) of the Key Value Store.
102
+ */
103
+ KvsARN: KvsARN;
104
+ }
105
+ export interface DescribeKeyValueStoreResponse {
106
+ /**
107
+ * Number of key value pairs in the Key Value Store.
108
+ */
109
+ ItemCount: Integer;
110
+ /**
111
+ * Total size of the Key Value Store in bytes.
112
+ */
113
+ TotalSizeInBytes: Long;
114
+ /**
115
+ * The Amazon Resource Name (ARN) of the Key Value Store.
116
+ */
117
+ KvsARN: KvsARN;
118
+ /**
119
+ * Date and time when the Key Value Store was created.
120
+ */
121
+ Created: Timestamp;
122
+ /**
123
+ * The version identifier for the current version of the Key Value Store.
124
+ */
125
+ ETag: Etag;
126
+ /**
127
+ * Date and time when the key value pairs in the Key Value Store was last modified.
128
+ */
129
+ LastModified?: Timestamp;
130
+ }
131
+ export type Etag = string;
132
+ export interface GetKeyRequest {
133
+ /**
134
+ * The Amazon Resource Name (ARN) of the Key Value Store.
135
+ */
136
+ KvsARN: KvsARN;
137
+ /**
138
+ * The key to get.
139
+ */
140
+ Key: Key;
141
+ }
142
+ export interface GetKeyResponse {
143
+ /**
144
+ * The key of the key value pair.
145
+ */
146
+ Key: Key;
147
+ /**
148
+ * The value of the key value pair.
149
+ */
150
+ Value: Value;
151
+ /**
152
+ * Number of key value pairs in the Key Value Store.
153
+ */
154
+ ItemCount: Integer;
155
+ /**
156
+ * Total size of the Key Value Store in bytes.
157
+ */
158
+ TotalSizeInBytes: Long;
159
+ }
160
+ export type Integer = number;
161
+ export type Key = string;
162
+ export type KvsARN = string;
163
+ export interface ListKeysRequest {
164
+ /**
165
+ * The Amazon Resource Name (ARN) of the Key Value Store.
166
+ */
167
+ KvsARN: KvsARN;
168
+ /**
169
+ * If nextToken is returned in the response, there are more results available. Make the next call using the returned token to retrieve the next page.
170
+ */
171
+ NextToken?: String;
172
+ /**
173
+ * Maximum number of results that are returned per call. The default is 10 and maximum allowed page is 50.
174
+ */
175
+ MaxResults?: ListKeysRequestMaxResultsInteger;
176
+ }
177
+ export type ListKeysRequestMaxResultsInteger = number;
178
+ export interface ListKeysResponse {
179
+ /**
180
+ * If nextToken is returned in the response, there are more results available. Make the next call using the returned token to retrieve the next page.
181
+ */
182
+ NextToken?: String;
183
+ /**
184
+ * Key value pairs
185
+ */
186
+ Items?: ListKeysResponseList;
187
+ }
188
+ export type ListKeysResponseList = ListKeysResponseListItem[];
189
+ export interface ListKeysResponseListItem {
190
+ /**
191
+ * The key of the key value pair.
192
+ */
193
+ Key: Key;
194
+ /**
195
+ * The value of the key value pair.
196
+ */
197
+ Value: Value;
198
+ }
199
+ export type Long = number;
200
+ export interface PutKeyRequest {
201
+ /**
202
+ * The key to put.
203
+ */
204
+ Key: Key;
205
+ /**
206
+ * The value to put.
207
+ */
208
+ Value: Value;
209
+ /**
210
+ * The Amazon Resource Name (ARN) of the Key Value Store.
211
+ */
212
+ KvsARN: KvsARN;
213
+ /**
214
+ * The current version (ETag) of the Key Value Store that you are putting keys into, which you can get using DescribeKeyValueStore.
215
+ */
216
+ IfMatch: Etag;
217
+ }
218
+ export interface PutKeyRequestListItem {
219
+ /**
220
+ * The key of the key value pair list item to put.
221
+ */
222
+ Key: Key;
223
+ /**
224
+ * The value for the key value pair to put.
225
+ */
226
+ Value: Value;
227
+ }
228
+ export type PutKeyRequestsList = PutKeyRequestListItem[];
229
+ export interface PutKeyResponse {
230
+ /**
231
+ * Number of key value pairs in the Key Value Store after the successful put.
232
+ */
233
+ ItemCount: Integer;
234
+ /**
235
+ * Total size of the Key Value Store after the successful put, in bytes.
236
+ */
237
+ TotalSizeInBytes: Long;
238
+ /**
239
+ * The current version identifier of the Key Value Store after the successful put.
240
+ */
241
+ ETag: Etag;
242
+ }
243
+ export type String = string;
244
+ export type Timestamp = Date;
245
+ export interface UpdateKeysRequest {
246
+ /**
247
+ * The Amazon Resource Name (ARN) of the Key Value Store.
248
+ */
249
+ KvsARN: KvsARN;
250
+ /**
251
+ * The current version (ETag) of the Key Value Store that you are updating keys of, which you can get using DescribeKeyValueStore.
252
+ */
253
+ IfMatch: Etag;
254
+ /**
255
+ * List of key value pairs to put.
256
+ */
257
+ Puts?: PutKeyRequestsList;
258
+ /**
259
+ * List of keys to delete.
260
+ */
261
+ Deletes?: DeleteKeyRequestsList;
262
+ }
263
+ export interface UpdateKeysResponse {
264
+ /**
265
+ * Number of key value pairs in the Key Value Store after the successful update.
266
+ */
267
+ ItemCount: Integer;
268
+ /**
269
+ * Total size of the Key Value Store after the successful update, in bytes.
270
+ */
271
+ TotalSizeInBytes: Long;
272
+ /**
273
+ * The current version identifier of the Key Value Store after the successful update.
274
+ */
275
+ ETag: Etag;
276
+ }
277
+ export type Value = string;
278
+ /**
279
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
280
+ */
281
+ export type apiVersion = "2022-07-26"|"latest"|string;
282
+ export interface ClientApiVersions {
283
+ /**
284
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
285
+ */
286
+ apiVersion?: apiVersion;
287
+ }
288
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
289
+ /**
290
+ * Contains interfaces for use with the CloudFrontKeyValueStore client.
291
+ */
292
+ export import Types = CloudFrontKeyValueStore;
293
+ }
294
+ export = CloudFrontKeyValueStore;
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['cloudfrontkeyvaluestore'] = {};
7
+ AWS.CloudFrontKeyValueStore = Service.defineService('cloudfrontkeyvaluestore', ['2022-07-26']);
8
+ Object.defineProperty(apiLoader.services['cloudfrontkeyvaluestore'], '2022-07-26', {
9
+ get: function get() {
10
+ var model = require('../apis/cloudfront-keyvaluestore-2022-07-26.min.json');
11
+ model.paginators = require('../apis/cloudfront-keyvaluestore-2022-07-26.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.CloudFrontKeyValueStore;