cdk-lambda-subminute 2.0.251 → 2.0.253

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 (35) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +10 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/bedrock-2023-04-20.examples.json +5 -0
  6. package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +816 -0
  7. package/node_modules/aws-sdk/apis/bedrock-2023-04-20.paginators.json +16 -0
  8. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.examples.json +5 -0
  9. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +180 -0
  10. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.paginators.json +4 -0
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1292 -1235
  12. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +62 -13
  13. package/node_modules/aws-sdk/apis/metadata.json +7 -0
  14. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +681 -662
  15. package/node_modules/aws-sdk/apis/sagemaker-featurestore-runtime-2020-07-01.min.json +9 -6
  16. package/node_modules/aws-sdk/clients/all.d.ts +2 -0
  17. package/node_modules/aws-sdk/clients/all.js +3 -1
  18. package/node_modules/aws-sdk/clients/bedrock.d.ts +840 -0
  19. package/node_modules/aws-sdk/clients/bedrock.js +18 -0
  20. package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +138 -0
  21. package/node_modules/aws-sdk/clients/bedrockruntime.js +18 -0
  22. package/node_modules/aws-sdk/clients/budgets.d.ts +8 -7
  23. package/node_modules/aws-sdk/clients/ec2.d.ts +69 -4
  24. package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +71 -1
  25. package/node_modules/aws-sdk/clients/sagemaker.d.ts +58 -31
  26. package/node_modules/aws-sdk/clients/sagemakerfeaturestoreruntime.d.ts +7 -2
  27. package/node_modules/aws-sdk/clients/wafv2.d.ts +2 -2
  28. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  29. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +82 -8
  30. package/node_modules/aws-sdk/dist/aws-sdk.js +1302 -1238
  31. package/node_modules/aws-sdk/dist/aws-sdk.min.js +74 -74
  32. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
  33. package/node_modules/aws-sdk/lib/core.js +1 -1
  34. package/node_modules/aws-sdk/package.json +1 -1
  35. package/package.json +4 -4
@@ -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['bedrock'] = {};
7
+ AWS.Bedrock = Service.defineService('bedrock', ['2023-04-20']);
8
+ Object.defineProperty(apiLoader.services['bedrock'], '2023-04-20', {
9
+ get: function get() {
10
+ var model = require('../apis/bedrock-2023-04-20.min.json');
11
+ model.paginators = require('../apis/bedrock-2023-04-20.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.Bedrock;
@@ -0,0 +1,138 @@
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
+ import {EventStream} from '../lib/event-stream/event-stream';
8
+ interface Blob {}
9
+ declare class BedrockRuntime extends Service {
10
+ /**
11
+ * Constructs a service object. This object has one method for each API operation.
12
+ */
13
+ constructor(options?: BedrockRuntime.Types.ClientConfiguration)
14
+ config: Config & BedrockRuntime.Types.ClientConfiguration;
15
+ /**
16
+ * Invokes the specified Bedrock model to run inference using the input provided in the request body. You use InvokeModel to run inference for text models, image models, and embedding models. For more information about invoking models, see Using the API in the Bedrock User Guide. For example requests, see Examples (after the Errors section).
17
+ */
18
+ invokeModel(params: BedrockRuntime.Types.InvokeModelRequest, callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelResponse) => void): Request<BedrockRuntime.Types.InvokeModelResponse, AWSError>;
19
+ /**
20
+ * Invokes the specified Bedrock model to run inference using the input provided in the request body. You use InvokeModel to run inference for text models, image models, and embedding models. For more information about invoking models, see Using the API in the Bedrock User Guide. For example requests, see Examples (after the Errors section).
21
+ */
22
+ invokeModel(callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelResponse) => void): Request<BedrockRuntime.Types.InvokeModelResponse, AWSError>;
23
+ /**
24
+ * Invoke the specified Bedrock model to run inference using the input provided. Return the response in a stream. For more information about invoking models, see Using the API in the Bedrock User Guide. For an example request and response, see Examples (after the Errors section).
25
+ */
26
+ invokeModelWithResponseStream(params: BedrockRuntime.Types.InvokeModelWithResponseStreamRequest, callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelWithResponseStreamResponse) => void): Request<BedrockRuntime.Types.InvokeModelWithResponseStreamResponse, AWSError>;
27
+ /**
28
+ * Invoke the specified Bedrock model to run inference using the input provided. Return the response in a stream. For more information about invoking models, see Using the API in the Bedrock User Guide. For an example request and response, see Examples (after the Errors section).
29
+ */
30
+ invokeModelWithResponseStream(callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelWithResponseStreamResponse) => void): Request<BedrockRuntime.Types.InvokeModelWithResponseStreamResponse, AWSError>;
31
+ }
32
+ declare namespace BedrockRuntime {
33
+ export type Body = Buffer|Uint8Array|Blob|string;
34
+ export interface InternalServerException {
35
+ message?: NonBlankString;
36
+ }
37
+ export type InvokeModelIdentifier = string;
38
+ export interface InvokeModelRequest {
39
+ /**
40
+ * The desired MIME type of the inference body in the response. The default value is application/json.
41
+ */
42
+ accept?: MimeType;
43
+ /**
44
+ * Input data in the format specified in the content-type request header. To see the format and content of this field for different models, refer to Inference parameters.
45
+ */
46
+ body: Body;
47
+ /**
48
+ * The MIME type of the input data in the request. The default value is application/json.
49
+ */
50
+ contentType?: MimeType;
51
+ /**
52
+ * Identifier of the model.
53
+ */
54
+ modelId: InvokeModelIdentifier;
55
+ }
56
+ export interface InvokeModelResponse {
57
+ /**
58
+ * Inference response from the model in the format specified in the content-type header field. To see the format and content of this field for different models, refer to Inference parameters.
59
+ */
60
+ body: Body;
61
+ /**
62
+ * The MIME type of the inference result.
63
+ */
64
+ contentType: MimeType;
65
+ }
66
+ export interface InvokeModelWithResponseStreamRequest {
67
+ /**
68
+ * The desired MIME type of the inference body in the response. The default value is application/json.
69
+ */
70
+ accept?: MimeType;
71
+ /**
72
+ * Inference input in the format specified by the content-type. To see the format and content of this field for different models, refer to Inference parameters.
73
+ */
74
+ body: Body;
75
+ /**
76
+ * The MIME type of the input data in the request. The default value is application/json.
77
+ */
78
+ contentType?: MimeType;
79
+ /**
80
+ * Id of the model to invoke using the streaming request.
81
+ */
82
+ modelId: InvokeModelIdentifier;
83
+ }
84
+ export interface InvokeModelWithResponseStreamResponse {
85
+ /**
86
+ * Inference response from the model in the format specified by Content-Type. To see the format and content of this field for different models, refer to Inference parameters.
87
+ */
88
+ body: ResponseStream;
89
+ /**
90
+ * The MIME type of the inference result.
91
+ */
92
+ contentType: MimeType;
93
+ }
94
+ export type MimeType = string;
95
+ export interface ModelStreamErrorException {
96
+ message?: NonBlankString;
97
+ /**
98
+ * The original message.
99
+ */
100
+ originalMessage?: NonBlankString;
101
+ /**
102
+ * The original status code.
103
+ */
104
+ originalStatusCode?: StatusCode;
105
+ }
106
+ export type NonBlankString = string;
107
+ export type PartBody = Buffer|Uint8Array|Blob|string;
108
+ export interface PayloadPart {
109
+ /**
110
+ * Base64-encoded bytes of payload data.
111
+ */
112
+ bytes?: PartBody;
113
+ }
114
+ export type ResponseStream = EventStream<{chunk?:PayloadPart,internalServerException?:InternalServerException,modelStreamErrorException?:ModelStreamErrorException,throttlingException?:ThrottlingException,validationException?:ValidationException}>;
115
+ export type StatusCode = number;
116
+ export interface ThrottlingException {
117
+ message?: NonBlankString;
118
+ }
119
+ export interface ValidationException {
120
+ message?: NonBlankString;
121
+ }
122
+ /**
123
+ * 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.
124
+ */
125
+ export type apiVersion = "2023-09-30"|"latest"|string;
126
+ export interface ClientApiVersions {
127
+ /**
128
+ * 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.
129
+ */
130
+ apiVersion?: apiVersion;
131
+ }
132
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
133
+ /**
134
+ * Contains interfaces for use with the BedrockRuntime client.
135
+ */
136
+ export import Types = BedrockRuntime;
137
+ }
138
+ export = BedrockRuntime;
@@ -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['bedrockruntime'] = {};
7
+ AWS.BedrockRuntime = Service.defineService('bedrockruntime', ['2023-09-30']);
8
+ Object.defineProperty(apiLoader.services['bedrockruntime'], '2023-09-30', {
9
+ get: function get() {
10
+ var model = require('../apis/bedrock-runtime-2023-09-30.min.json');
11
+ model.paginators = require('../apis/bedrock-runtime-2023-09-30.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.BedrockRuntime;
@@ -645,7 +645,7 @@ declare namespace Budgets {
645
645
  export interface DescribeBudgetNotificationsForAccountRequest {
646
646
  AccountId: AccountId;
647
647
  /**
648
- * An integer that shows how many budget name entries a paginated response contains.
648
+ * An integer that represents how many budgets a paginated response contains. The default is 50.
649
649
  */
650
650
  MaxResults?: MaxResultsBudgetNotifications;
651
651
  NextToken?: GenericString;
@@ -692,13 +692,13 @@ declare namespace Budgets {
692
692
  }
693
693
  export interface DescribeBudgetsRequest {
694
694
  /**
695
- * The accountId that is associated with the budgets that you want descriptions of.
695
+ * The accountId that is associated with the budgets that you want to describe.
696
696
  */
697
697
  AccountId: AccountId;
698
698
  /**
699
- * An optional integer that represents how many entries a paginated response contains. The maximum is 100.
699
+ * An integer that represents how many budgets a paginated response contains. The default is 100.
700
700
  */
701
- MaxResults?: MaxResults;
701
+ MaxResults?: MaxResultsDescribeBudgets;
702
702
  /**
703
703
  * The pagination token that you include in your request to indicate the next set of results that you want to retrieve.
704
704
  */
@@ -724,7 +724,7 @@ declare namespace Budgets {
724
724
  */
725
725
  BudgetName: BudgetName;
726
726
  /**
727
- * An optional integer that represents how many entries a paginated response contains. The maximum is 100.
727
+ * An optional integer that represents how many entries a paginated response contains.
728
728
  */
729
729
  MaxResults?: MaxResults;
730
730
  /**
@@ -756,7 +756,7 @@ declare namespace Budgets {
756
756
  */
757
757
  Notification: Notification;
758
758
  /**
759
- * An optional integer that represents how many entries a paginated response contains. The maximum is 100.
759
+ * An optional integer that represents how many entries a paginated response contains.
760
760
  */
761
761
  MaxResults?: MaxResults;
762
762
  /**
@@ -838,6 +838,7 @@ declare namespace Budgets {
838
838
  export type InstanceIds = InstanceId[];
839
839
  export type MaxResults = number;
840
840
  export type MaxResultsBudgetNotifications = number;
841
+ export type MaxResultsDescribeBudgets = number;
841
842
  export interface Notification {
842
843
  /**
843
844
  * Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).
@@ -900,7 +901,7 @@ declare namespace Budgets {
900
901
  */
901
902
  Amount: NumericValue;
902
903
  /**
903
- * The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.
904
+ * The unit of measurement that's used for the budget forecast, actual spend, or budget threshold.
904
905
  */
905
906
  Unit: UnitValue;
906
907
  }
@@ -10984,6 +10984,10 @@ declare namespace EC2 {
10984
10984
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
10985
10985
  */
10986
10986
  DryRun?: Boolean;
10987
+ /**
10988
+ * Options for server side encryption.
10989
+ */
10990
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
10987
10991
  }
10988
10992
  export interface CreateVerifiedAccessEndpointResult {
10989
10993
  /**
@@ -11017,6 +11021,10 @@ declare namespace EC2 {
11017
11021
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
11018
11022
  */
11019
11023
  DryRun?: Boolean;
11024
+ /**
11025
+ * Options for server side encryption.
11026
+ */
11027
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
11020
11028
  }
11021
11029
  export interface CreateVerifiedAccessGroupResult {
11022
11030
  /**
@@ -11042,7 +11050,7 @@ declare namespace EC2 {
11042
11050
  */
11043
11051
  DryRun?: Boolean;
11044
11052
  /**
11045
- * Choose to enable or disable support for Federal Information Processing Standards (FIPS) on the instance.
11053
+ * Enable or disable support for Federal Information Processing Standards (FIPS) on the instance.
11046
11054
  */
11047
11055
  FIPSEnabled?: Boolean;
11048
11056
  }
@@ -11129,6 +11137,10 @@ declare namespace EC2 {
11129
11137
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
11130
11138
  */
11131
11139
  DryRun?: Boolean;
11140
+ /**
11141
+ * Options for server side encryption.
11142
+ */
11143
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
11132
11144
  }
11133
11145
  export interface CreateVerifiedAccessTrustProviderResult {
11134
11146
  /**
@@ -25273,6 +25285,7 @@ declare namespace EC2 {
25273
25285
  export type KeyPairList = KeyPairInfo[];
25274
25286
  export type KeyPairName = string;
25275
25287
  export type KeyType = "rsa"|"ed25519"|string;
25288
+ export type KmsKeyArn = string;
25276
25289
  export type KmsKeyId = string;
25277
25290
  export interface LastError {
25278
25291
  /**
@@ -28145,7 +28158,7 @@ declare namespace EC2 {
28145
28158
  /**
28146
28159
  * The status of the Verified Access policy.
28147
28160
  */
28148
- PolicyEnabled: Boolean;
28161
+ PolicyEnabled?: Boolean;
28149
28162
  /**
28150
28163
  * The Verified Access policy document.
28151
28164
  */
@@ -28158,6 +28171,10 @@ declare namespace EC2 {
28158
28171
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
28159
28172
  */
28160
28173
  DryRun?: Boolean;
28174
+ /**
28175
+ * Options for server side encryption.
28176
+ */
28177
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
28161
28178
  }
28162
28179
  export interface ModifyVerifiedAccessEndpointPolicyResult {
28163
28180
  /**
@@ -28168,6 +28185,10 @@ declare namespace EC2 {
28168
28185
  * The Verified Access policy document.
28169
28186
  */
28170
28187
  PolicyDocument?: String;
28188
+ /**
28189
+ * Describes the options in use for server side encryption.
28190
+ */
28191
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
28171
28192
  }
28172
28193
  export interface ModifyVerifiedAccessEndpointRequest {
28173
28194
  /**
@@ -28214,7 +28235,7 @@ declare namespace EC2 {
28214
28235
  /**
28215
28236
  * The status of the Verified Access policy.
28216
28237
  */
28217
- PolicyEnabled: Boolean;
28238
+ PolicyEnabled?: Boolean;
28218
28239
  /**
28219
28240
  * The Verified Access policy document.
28220
28241
  */
@@ -28227,6 +28248,10 @@ declare namespace EC2 {
28227
28248
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
28228
28249
  */
28229
28250
  DryRun?: Boolean;
28251
+ /**
28252
+ * Options for server side encryption.
28253
+ */
28254
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
28230
28255
  }
28231
28256
  export interface ModifyVerifiedAccessGroupPolicyResult {
28232
28257
  /**
@@ -28237,6 +28262,10 @@ declare namespace EC2 {
28237
28262
  * The Verified Access policy document.
28238
28263
  */
28239
28264
  PolicyDocument?: String;
28265
+ /**
28266
+ * Describes the options in use for server side encryption.
28267
+ */
28268
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
28240
28269
  }
28241
28270
  export interface ModifyVerifiedAccessGroupRequest {
28242
28271
  /**
@@ -28365,6 +28394,10 @@ declare namespace EC2 {
28365
28394
  * A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
28366
28395
  */
28367
28396
  ClientToken?: String;
28397
+ /**
28398
+ * Options for server side encryption.
28399
+ */
28400
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
28368
28401
  }
28369
28402
  export interface ModifyVerifiedAccessTrustProviderResult {
28370
28403
  /**
@@ -37231,6 +37264,10 @@ declare namespace EC2 {
37231
37264
  * The tags.
37232
37265
  */
37233
37266
  Tags?: TagList;
37267
+ /**
37268
+ * Describes the options in use for server side encryption.
37269
+ */
37270
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
37234
37271
  }
37235
37272
  export type VerifiedAccessEndpointAttachmentType = "vpc"|string;
37236
37273
  export interface VerifiedAccessEndpointEniOptions {
@@ -37320,6 +37357,10 @@ declare namespace EC2 {
37320
37357
  * The tags.
37321
37358
  */
37322
37359
  Tags?: TagList;
37360
+ /**
37361
+ * Describes the options in use for server side encryption.
37362
+ */
37363
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
37323
37364
  }
37324
37365
  export type VerifiedAccessGroupId = string;
37325
37366
  export type VerifiedAccessGroupIdList = VerifiedAccessGroupId[];
@@ -37350,7 +37391,7 @@ declare namespace EC2 {
37350
37391
  */
37351
37392
  Tags?: TagList;
37352
37393
  /**
37353
- * Describes if support for Federal Information Processing Standards (FIPS) is enabled on the instance.
37394
+ * Describes whether support for Federal Information Processing Standards (FIPS) is enabled on the instance.
37354
37395
  */
37355
37396
  FipsEnabled?: Boolean;
37356
37397
  }
@@ -37511,6 +37552,26 @@ declare namespace EC2 {
37511
37552
  */
37512
37553
  IncludeTrustContext?: Boolean;
37513
37554
  }
37555
+ export interface VerifiedAccessSseSpecificationRequest {
37556
+ /**
37557
+ * Enable or disable the use of customer managed KMS keys for server side encryption. Valid values: True | False
37558
+ */
37559
+ CustomerManagedKeyEnabled?: Boolean;
37560
+ /**
37561
+ * The ARN of the KMS key.
37562
+ */
37563
+ KmsKeyArn?: KmsKeyArn;
37564
+ }
37565
+ export interface VerifiedAccessSseSpecificationResponse {
37566
+ /**
37567
+ * Describes the use of customer managed KMS keys for server side encryption. Valid values: True | False
37568
+ */
37569
+ CustomerManagedKeyEnabled?: Boolean;
37570
+ /**
37571
+ * Describes the ARN of the KMS key.
37572
+ */
37573
+ KmsKeyArn?: KmsKeyArn;
37574
+ }
37514
37575
  export interface VerifiedAccessTrustProvider {
37515
37576
  /**
37516
37577
  * The ID of the Amazon Web Services Verified Access trust provider.
@@ -37556,6 +37617,10 @@ declare namespace EC2 {
37556
37617
  * The tags.
37557
37618
  */
37558
37619
  Tags?: TagList;
37620
+ /**
37621
+ * Describes the options in use for server side encryption.
37622
+ */
37623
+ SseSpecification?: VerifiedAccessSseSpecificationResponse;
37559
37624
  }
37560
37625
  export interface VerifiedAccessTrustProviderCondensed {
37561
37626
  /**
@@ -155,6 +155,14 @@ declare class IoTFleetWise extends Service {
155
155
  * Retrieves information about a created decoder manifest.
156
156
  */
157
157
  getDecoderManifest(callback?: (err: AWSError, data: IoTFleetWise.Types.GetDecoderManifestResponse) => void): Request<IoTFleetWise.Types.GetDecoderManifestResponse, AWSError>;
158
+ /**
159
+ * Retrieves the encryption configuration for resources and data in Amazon Web Services IoT FleetWise.
160
+ */
161
+ getEncryptionConfiguration(params: IoTFleetWise.Types.GetEncryptionConfigurationRequest, callback?: (err: AWSError, data: IoTFleetWise.Types.GetEncryptionConfigurationResponse) => void): Request<IoTFleetWise.Types.GetEncryptionConfigurationResponse, AWSError>;
162
+ /**
163
+ * Retrieves the encryption configuration for resources and data in Amazon Web Services IoT FleetWise.
164
+ */
165
+ getEncryptionConfiguration(callback?: (err: AWSError, data: IoTFleetWise.Types.GetEncryptionConfigurationResponse) => void): Request<IoTFleetWise.Types.GetEncryptionConfigurationResponse, AWSError>;
158
166
  /**
159
167
  * Retrieves information about a fleet.
160
168
  */
@@ -331,6 +339,14 @@ declare class IoTFleetWise extends Service {
331
339
  * Retrieves a list of summaries of all vehicles associated with a fleet. This API operation uses pagination. Specify the nextToken parameter in the request to return more results.
332
340
  */
333
341
  listVehiclesInFleet(callback?: (err: AWSError, data: IoTFleetWise.Types.ListVehiclesInFleetResponse) => void): Request<IoTFleetWise.Types.ListVehiclesInFleetResponse, AWSError>;
342
+ /**
343
+ * Creates or updates the encryption configuration. Amazon Web Services IoT FleetWise can encrypt your data and resources using an Amazon Web Services managed key. Or, you can use a KMS key that you own and manage. For more information, see Data encryption in the Amazon Web Services IoT FleetWise Developer Guide.
344
+ */
345
+ putEncryptionConfiguration(params: IoTFleetWise.Types.PutEncryptionConfigurationRequest, callback?: (err: AWSError, data: IoTFleetWise.Types.PutEncryptionConfigurationResponse) => void): Request<IoTFleetWise.Types.PutEncryptionConfigurationResponse, AWSError>;
346
+ /**
347
+ * Creates or updates the encryption configuration. Amazon Web Services IoT FleetWise can encrypt your data and resources using an Amazon Web Services managed key. Or, you can use a KMS key that you own and manage. For more information, see Data encryption in the Amazon Web Services IoT FleetWise Developer Guide.
348
+ */
349
+ putEncryptionConfiguration(callback?: (err: AWSError, data: IoTFleetWise.Types.PutEncryptionConfigurationResponse) => void): Request<IoTFleetWise.Types.PutEncryptionConfigurationResponse, AWSError>;
334
350
  /**
335
351
  * Creates or updates the logging option.
336
352
  */
@@ -765,7 +781,7 @@ declare namespace IoTFleetWise {
765
781
  */
766
782
  tags?: TagList;
767
783
  /**
768
- * The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream. Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.
784
+ * The destination where the campaign sends data. You can choose to send data to be stored in Amazon S3 or Amazon Timestream. Amazon S3 optimizes the cost of data storage and provides additional mechanisms to use vehicle data, such as data lakes, centralized data storage, data processing pipelines, and analytics. Amazon Web Services IoT FleetWise supports at-least-once file delivery to S3. Your vehicle data is stored on multiple Amazon Web Services IoT FleetWise servers for redundancy and high availability. You can use Amazon Timestream to access and analyze time series data, and Timestream to query vehicle data so that you can identify trends and patterns.
769
785
  */
770
786
  dataDestinationConfigs?: DataDestinationConfigs;
771
787
  }
@@ -1149,6 +1165,8 @@ declare namespace IoTFleetWise {
1149
1165
  }
1150
1166
  export interface DisassociateVehicleFleetResponse {
1151
1167
  }
1168
+ export type EncryptionStatus = "PENDING"|"SUCCESS"|"FAILURE"|string;
1169
+ export type EncryptionType = "KMS_BASED_ENCRYPTION"|"FLEETWISE_DEFAULT_ENCRYPTION"|string;
1152
1170
  export interface FleetSummary {
1153
1171
  /**
1154
1172
  * The unique ID of the fleet.
@@ -1303,6 +1321,34 @@ declare namespace IoTFleetWise {
1303
1321
  */
1304
1322
  lastModificationTime: timestamp;
1305
1323
  }
1324
+ export interface GetEncryptionConfigurationRequest {
1325
+ }
1326
+ export interface GetEncryptionConfigurationResponse {
1327
+ /**
1328
+ * The ID of the KMS key that is used for encryption.
1329
+ */
1330
+ kmsKeyId?: String;
1331
+ /**
1332
+ * The encryption status.
1333
+ */
1334
+ encryptionStatus: EncryptionStatus;
1335
+ /**
1336
+ * The type of encryption. Set to KMS_BASED_ENCRYPTION to use an KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
1337
+ */
1338
+ encryptionType: EncryptionType;
1339
+ /**
1340
+ * The error message that describes why encryption settings couldn't be configured, if applicable.
1341
+ */
1342
+ errorMessage?: errorMessage;
1343
+ /**
1344
+ * The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
1345
+ */
1346
+ creationTime?: timestamp;
1347
+ /**
1348
+ * The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
1349
+ */
1350
+ lastModificationTime?: timestamp;
1351
+ }
1306
1352
  export interface GetFleetRequest {
1307
1353
  /**
1308
1354
  * The ID of the fleet to retrieve information about.
@@ -2040,6 +2086,30 @@ declare namespace IoTFleetWise {
2040
2086
  export type Prefix = string;
2041
2087
  export type ProtocolName = string;
2042
2088
  export type ProtocolVersion = string;
2089
+ export interface PutEncryptionConfigurationRequest {
2090
+ /**
2091
+ * The ID of the KMS key that is used for encryption.
2092
+ */
2093
+ kmsKeyId?: String;
2094
+ /**
2095
+ * The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
2096
+ */
2097
+ encryptionType: EncryptionType;
2098
+ }
2099
+ export interface PutEncryptionConfigurationResponse {
2100
+ /**
2101
+ * The ID of the KMS key that is used for encryption.
2102
+ */
2103
+ kmsKeyId?: String;
2104
+ /**
2105
+ * The encryption status.
2106
+ */
2107
+ encryptionStatus: EncryptionStatus;
2108
+ /**
2109
+ * The type of encryption. Set to KMS_BASED_ENCRYPTION to use an KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
2110
+ */
2111
+ encryptionType: EncryptionType;
2112
+ }
2043
2113
  export interface PutLoggingOptionsRequest {
2044
2114
  /**
2045
2115
  * Creates or updates the log delivery option to Amazon CloudWatch Logs.