aws-sdk 2.916.0 → 2.920.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 (45) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/README.md +1 -1
  3. package/apis/autoscaling-2011-01-01.min.json +63 -60
  4. package/apis/datasync-2018-11-09.min.json +16 -15
  5. package/apis/devicefarm-2015-06-23.min.json +144 -92
  6. package/apis/docdb-2014-10-31.min.json +233 -65
  7. package/apis/docdb-2014-10-31.paginators.json +6 -0
  8. package/apis/ec2-2016-11-15.min.json +6 -0
  9. package/apis/fsx-2018-03-01.min.json +27 -24
  10. package/apis/iotevents-2018-07-27.min.json +715 -188
  11. package/apis/iotevents-data-2018-10-23.min.json +380 -1
  12. package/apis/iotsitewise-2019-12-02.min.json +65 -43
  13. package/apis/iotwireless-2020-11-22.min.json +210 -6
  14. package/apis/kendra-2019-02-03.min.json +351 -77
  15. package/apis/location-2020-11-19.min.json +677 -84
  16. package/apis/location-2020-11-19.paginators.json +12 -0
  17. package/apis/sns-2010-03-31.min.json +150 -13
  18. package/apis/sns-2010-03-31.paginators.json +12 -0
  19. package/clients/autoscaling.d.ts +55 -50
  20. package/clients/braket.d.ts +2 -2
  21. package/clients/datasync.d.ts +39 -34
  22. package/clients/devicefarm.d.ts +41 -10
  23. package/clients/docdb.d.ts +217 -4
  24. package/clients/ec2.d.ts +8 -0
  25. package/clients/ecs.d.ts +4 -4
  26. package/clients/fsx.d.ts +15 -2
  27. package/clients/iam.d.ts +1 -1
  28. package/clients/iotevents.d.ts +595 -11
  29. package/clients/ioteventsdata.d.ts +474 -9
  30. package/clients/iotsitewise.d.ts +34 -0
  31. package/clients/iotwireless.d.ts +126 -0
  32. package/clients/kendra.d.ts +410 -6
  33. package/clients/lightsail.d.ts +3 -3
  34. package/clients/location.d.ts +651 -77
  35. package/clients/polly.d.ts +1 -1
  36. package/clients/resourcegroups.d.ts +4 -4
  37. package/clients/servicediscovery.d.ts +41 -41
  38. package/clients/sns.d.ts +181 -4
  39. package/clients/sqs.d.ts +5 -5
  40. package/dist/aws-sdk-core-react-native.js +1 -1
  41. package/dist/aws-sdk-react-native.js +17 -17
  42. package/dist/aws-sdk.js +378 -168
  43. package/dist/aws-sdk.min.js +68 -68
  44. package/lib/core.js +1 -1
  45. package/package.json +1 -1
@@ -203,6 +203,14 @@ declare class IoTWireless extends Service {
203
203
  * Gets information about a device profile.
204
204
  */
205
205
  getDeviceProfile(callback?: (err: AWSError, data: IoTWireless.Types.GetDeviceProfileResponse) => void): Request<IoTWireless.Types.GetDeviceProfileResponse, AWSError>;
206
+ /**
207
+ * Returns current default log-levels, or log levels by resource types, could be for wireless device log options or wireless gateway log options.
208
+ */
209
+ getLogLevelsByResourceTypes(params: IoTWireless.Types.GetLogLevelsByResourceTypesRequest, callback?: (err: AWSError, data: IoTWireless.Types.GetLogLevelsByResourceTypesResponse) => void): Request<IoTWireless.Types.GetLogLevelsByResourceTypesResponse, AWSError>;
210
+ /**
211
+ * Returns current default log-levels, or log levels by resource types, could be for wireless device log options or wireless gateway log options.
212
+ */
213
+ getLogLevelsByResourceTypes(callback?: (err: AWSError, data: IoTWireless.Types.GetLogLevelsByResourceTypesResponse) => void): Request<IoTWireless.Types.GetLogLevelsByResourceTypesResponse, AWSError>;
206
214
  /**
207
215
  * Gets information about a partner account. If PartnerAccountId and PartnerType are null, returns all partner accounts.
208
216
  */
@@ -211,6 +219,14 @@ declare class IoTWireless extends Service {
211
219
  * Gets information about a partner account. If PartnerAccountId and PartnerType are null, returns all partner accounts.
212
220
  */
213
221
  getPartnerAccount(callback?: (err: AWSError, data: IoTWireless.Types.GetPartnerAccountResponse) => void): Request<IoTWireless.Types.GetPartnerAccountResponse, AWSError>;
222
+ /**
223
+ * Fetches the log-level override if any for a given resource-ID and resource-type, coulde be a wireless device or a wireless gateway.
224
+ */
225
+ getResourceLogLevel(params: IoTWireless.Types.GetResourceLogLevelRequest, callback?: (err: AWSError, data: IoTWireless.Types.GetResourceLogLevelResponse) => void): Request<IoTWireless.Types.GetResourceLogLevelResponse, AWSError>;
226
+ /**
227
+ * Fetches the log-level override if any for a given resource-ID and resource-type, coulde be a wireless device or a wireless gateway.
228
+ */
229
+ getResourceLogLevel(callback?: (err: AWSError, data: IoTWireless.Types.GetResourceLogLevelResponse) => void): Request<IoTWireless.Types.GetResourceLogLevelResponse, AWSError>;
214
230
  /**
215
231
  * Gets the account-specific endpoint for Configuration and Update Server (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
216
232
  */
@@ -355,6 +371,30 @@ declare class IoTWireless extends Service {
355
371
  * Lists the wireless gateways registered to your AWS account.
356
372
  */
357
373
  listWirelessGateways(callback?: (err: AWSError, data: IoTWireless.Types.ListWirelessGatewaysResponse) => void): Request<IoTWireless.Types.ListWirelessGatewaysResponse, AWSError>;
374
+ /**
375
+ * Sets the log-level override for a resource-ID and resource-type, could be a wireless gateway or a wireless device.
376
+ */
377
+ putResourceLogLevel(params: IoTWireless.Types.PutResourceLogLevelRequest, callback?: (err: AWSError, data: IoTWireless.Types.PutResourceLogLevelResponse) => void): Request<IoTWireless.Types.PutResourceLogLevelResponse, AWSError>;
378
+ /**
379
+ * Sets the log-level override for a resource-ID and resource-type, could be a wireless gateway or a wireless device.
380
+ */
381
+ putResourceLogLevel(callback?: (err: AWSError, data: IoTWireless.Types.PutResourceLogLevelResponse) => void): Request<IoTWireless.Types.PutResourceLogLevelResponse, AWSError>;
382
+ /**
383
+ * Remove log-level overrides if any for all resources (both wireless devices and wireless gateways).
384
+ */
385
+ resetAllResourceLogLevels(params: IoTWireless.Types.ResetAllResourceLogLevelsRequest, callback?: (err: AWSError, data: IoTWireless.Types.ResetAllResourceLogLevelsResponse) => void): Request<IoTWireless.Types.ResetAllResourceLogLevelsResponse, AWSError>;
386
+ /**
387
+ * Remove log-level overrides if any for all resources (both wireless devices and wireless gateways).
388
+ */
389
+ resetAllResourceLogLevels(callback?: (err: AWSError, data: IoTWireless.Types.ResetAllResourceLogLevelsResponse) => void): Request<IoTWireless.Types.ResetAllResourceLogLevelsResponse, AWSError>;
390
+ /**
391
+ * Remove log-level override if any for a specific resource-ID and resource-type, could be a wireless device or a wireless gateway.
392
+ */
393
+ resetResourceLogLevel(params: IoTWireless.Types.ResetResourceLogLevelRequest, callback?: (err: AWSError, data: IoTWireless.Types.ResetResourceLogLevelResponse) => void): Request<IoTWireless.Types.ResetResourceLogLevelResponse, AWSError>;
394
+ /**
395
+ * Remove log-level override if any for a specific resource-ID and resource-type, could be a wireless device or a wireless gateway.
396
+ */
397
+ resetResourceLogLevel(callback?: (err: AWSError, data: IoTWireless.Types.ResetResourceLogLevelResponse) => void): Request<IoTWireless.Types.ResetResourceLogLevelResponse, AWSError>;
358
398
  /**
359
399
  * Sends a decrypted application data frame to a device.
360
400
  */
@@ -395,6 +435,14 @@ declare class IoTWireless extends Service {
395
435
  * Updates properties of a destination.
396
436
  */
397
437
  updateDestination(callback?: (err: AWSError, data: IoTWireless.Types.UpdateDestinationResponse) => void): Request<IoTWireless.Types.UpdateDestinationResponse, AWSError>;
438
+ /**
439
+ * Set default log level, or log levels by resource types, could be for wireless device log options or wireless gateways log options. This is to control the log messages that will be displayed in CloudWatch.
440
+ */
441
+ updateLogLevelsByResourceTypes(params: IoTWireless.Types.UpdateLogLevelsByResourceTypesRequest, callback?: (err: AWSError, data: IoTWireless.Types.UpdateLogLevelsByResourceTypesResponse) => void): Request<IoTWireless.Types.UpdateLogLevelsByResourceTypesResponse, AWSError>;
442
+ /**
443
+ * Set default log level, or log levels by resource types, could be for wireless device log options or wireless gateways log options. This is to control the log messages that will be displayed in CloudWatch.
444
+ */
445
+ updateLogLevelsByResourceTypes(callback?: (err: AWSError, data: IoTWireless.Types.UpdateLogLevelsByResourceTypesResponse) => void): Request<IoTWireless.Types.UpdateLogLevelsByResourceTypesResponse, AWSError>;
398
446
  /**
399
447
  * Updates properties of a partner account.
400
448
  */
@@ -969,6 +1017,13 @@ declare namespace IoTWireless {
969
1017
  */
970
1018
  LoRaWAN?: LoRaWANDeviceProfile;
971
1019
  }
1020
+ export interface GetLogLevelsByResourceTypesRequest {
1021
+ }
1022
+ export interface GetLogLevelsByResourceTypesResponse {
1023
+ DefaultLogLevel?: LogLevel;
1024
+ WirelessGatewayLogOptions?: WirelessGatewayLogOptionList;
1025
+ WirelessDeviceLogOptions?: WirelessDeviceLogOptionList;
1026
+ }
972
1027
  export interface GetPartnerAccountRequest {
973
1028
  /**
974
1029
  * The partner account ID to disassociate from the AWS account.
@@ -989,6 +1044,16 @@ declare namespace IoTWireless {
989
1044
  */
990
1045
  AccountLinked?: AccountLinked;
991
1046
  }
1047
+ export interface GetResourceLogLevelRequest {
1048
+ ResourceIdentifier: ResourceIdentifier;
1049
+ /**
1050
+ * The type of the resource, currently support WirelessDevice and WirelessGateway.
1051
+ */
1052
+ ResourceType: ResourceType;
1053
+ }
1054
+ export interface GetResourceLogLevelResponse {
1055
+ LogLevel?: LogLevel;
1056
+ }
992
1057
  export interface GetServiceEndpointRequest {
993
1058
  /**
994
1059
  * The service type for which to get endpoint information about. Can be CUPS for the Configuration and Update Server endpoint, or LNS for the LoRaWAN Network Server endpoint.
@@ -1745,6 +1810,7 @@ declare namespace IoTWireless {
1745
1810
  */
1746
1811
  UpdateVersion?: LoRaWANGatewayVersion;
1747
1812
  }
1813
+ export type LogLevel = "INFO"|"ERROR"|"DISABLED"|string;
1748
1814
  export type MacVersion = string;
1749
1815
  export type MaxDutyCycle = number;
1750
1816
  export type MaxEirp = number;
@@ -1794,10 +1860,35 @@ declare namespace IoTWireless {
1794
1860
  export type PingSlotPeriod = number;
1795
1861
  export type PrAllowed = boolean;
1796
1862
  export type PresetFreq = number;
1863
+ export interface PutResourceLogLevelRequest {
1864
+ ResourceIdentifier: ResourceIdentifier;
1865
+ /**
1866
+ * The type of the resource, currently support WirelessDevice and WirelessGateway.
1867
+ */
1868
+ ResourceType: ResourceType;
1869
+ LogLevel: LogLevel;
1870
+ }
1871
+ export interface PutResourceLogLevelResponse {
1872
+ }
1797
1873
  export type RaAllowed = boolean;
1798
1874
  export type RegParamsRevision = string;
1799
1875
  export type ReportDevStatusBattery = boolean;
1800
1876
  export type ReportDevStatusMargin = boolean;
1877
+ export interface ResetAllResourceLogLevelsRequest {
1878
+ }
1879
+ export interface ResetAllResourceLogLevelsResponse {
1880
+ }
1881
+ export interface ResetResourceLogLevelRequest {
1882
+ ResourceIdentifier: ResourceIdentifier;
1883
+ /**
1884
+ * The type of the resource, currently support WirelessDevice and WirelessGateway.
1885
+ */
1886
+ ResourceType: ResourceType;
1887
+ }
1888
+ export interface ResetResourceLogLevelResponse {
1889
+ }
1890
+ export type ResourceIdentifier = string;
1891
+ export type ResourceType = string;
1801
1892
  export type Result = string;
1802
1893
  export type RfRegion = string;
1803
1894
  export type RoleArn = string;
@@ -2057,6 +2148,13 @@ declare namespace IoTWireless {
2057
2148
  }
2058
2149
  export interface UpdateDestinationResponse {
2059
2150
  }
2151
+ export interface UpdateLogLevelsByResourceTypesRequest {
2152
+ DefaultLogLevel?: LogLevel;
2153
+ WirelessDeviceLogOptions?: WirelessDeviceLogOptionList;
2154
+ WirelessGatewayLogOptions?: WirelessGatewayLogOptionList;
2155
+ }
2156
+ export interface UpdateLogLevelsByResourceTypesResponse {
2157
+ }
2060
2158
  export interface UpdatePartnerAccountRequest {
2061
2159
  /**
2062
2160
  * The Sidewalk account credentials.
@@ -2145,8 +2243,23 @@ declare namespace IoTWireless {
2145
2243
  Arn?: WirelessGatewayTaskDefinitionArn;
2146
2244
  }
2147
2245
  export type WirelessDeviceArn = string;
2246
+ export type WirelessDeviceEvent = "Join"|"Rejoin"|"Uplink_Data"|"Downlink_Data"|"Registration"|string;
2247
+ export interface WirelessDeviceEventLogOption {
2248
+ Event: WirelessDeviceEvent;
2249
+ LogLevel: LogLevel;
2250
+ }
2251
+ export type WirelessDeviceEventLogOptionList = WirelessDeviceEventLogOption[];
2148
2252
  export type WirelessDeviceId = string;
2149
2253
  export type WirelessDeviceIdType = "WirelessDeviceId"|"DevEui"|"ThingName"|string;
2254
+ export interface WirelessDeviceLogOption {
2255
+ /**
2256
+ * The wireless device type.
2257
+ */
2258
+ Type: WirelessDeviceType;
2259
+ LogLevel: LogLevel;
2260
+ Events?: WirelessDeviceEventLogOptionList;
2261
+ }
2262
+ export type WirelessDeviceLogOptionList = WirelessDeviceLogOption[];
2150
2263
  export type WirelessDeviceName = string;
2151
2264
  export interface WirelessDeviceStatistics {
2152
2265
  /**
@@ -2185,8 +2298,20 @@ declare namespace IoTWireless {
2185
2298
  export type WirelessDeviceStatisticsList = WirelessDeviceStatistics[];
2186
2299
  export type WirelessDeviceType = "Sidewalk"|"LoRaWAN"|string;
2187
2300
  export type WirelessGatewayArn = string;
2301
+ export type WirelessGatewayEvent = "CUPS_Request"|"Certificate"|string;
2302
+ export interface WirelessGatewayEventLogOption {
2303
+ Event: WirelessGatewayEvent;
2304
+ LogLevel: LogLevel;
2305
+ }
2306
+ export type WirelessGatewayEventLogOptionList = WirelessGatewayEventLogOption[];
2188
2307
  export type WirelessGatewayId = string;
2189
2308
  export type WirelessGatewayIdType = "GatewayEui"|"WirelessGatewayId"|"ThingName"|string;
2309
+ export interface WirelessGatewayLogOption {
2310
+ Type: WirelessGatewayType;
2311
+ LogLevel: LogLevel;
2312
+ Events?: WirelessGatewayEventLogOptionList;
2313
+ }
2314
+ export type WirelessGatewayLogOptionList = WirelessGatewayLogOption[];
2190
2315
  export type WirelessGatewayName = string;
2191
2316
  export type WirelessGatewayServiceType = "CUPS"|"LNS"|string;
2192
2317
  export interface WirelessGatewayStatistics {
@@ -2222,6 +2347,7 @@ declare namespace IoTWireless {
2222
2347
  export type WirelessGatewayTaskDefinitionType = "UPDATE"|string;
2223
2348
  export type WirelessGatewayTaskName = string;
2224
2349
  export type WirelessGatewayTaskStatus = "PENDING"|"IN_PROGRESS"|"FIRST_RETRY"|"SECOND_RETRY"|"COMPLETED"|"FAILED"|string;
2350
+ export type WirelessGatewayType = "LoRaWAN"|string;
2225
2351
  export interface WirelessMetadata {
2226
2352
  /**
2227
2353
  * LoRaWAN device info.