aws-sdk 2.1415.0 → 2.1417.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/clients/m2.d.ts CHANGED
@@ -131,6 +131,10 @@ declare class M2 extends Service {
131
131
  * Describes a specific runtime environment.
132
132
  */
133
133
  getEnvironment(callback?: (err: AWSError, data: M2.Types.GetEnvironmentResponse) => void): Request<M2.Types.GetEnvironmentResponse, AWSError>;
134
+ /**
135
+ * Gets a single sign-on URL that can be used to connect to AWS Blu Insights.
136
+ */
137
+ getSignedBluinsightsUrl(callback?: (err: AWSError, data: M2.Types.GetSignedBluinsightsUrlResponse) => void): Request<M2.Types.GetSignedBluinsightsUrlResponse, AWSError>;
134
138
  /**
135
139
  * Returns a list of the application versions for a specific application.
136
140
  */
@@ -476,7 +480,7 @@ declare namespace M2 {
476
480
  */
477
481
  name: EntityName;
478
482
  /**
479
- * The Amazon Resource Name (ARN) of the role associated with the application.
483
+ * The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
480
484
  */
481
485
  roleArn?: Arn;
482
486
  /**
@@ -860,7 +864,7 @@ declare namespace M2 {
860
864
  export type EntityDescription = string;
861
865
  export type EntityName = string;
862
866
  export type EntityNameList = EntityName[];
863
- export type EnvironmentLifecycle = "Creating"|"Available"|"Deleting"|"Failed"|"Updating"|string;
867
+ export type EnvironmentLifecycle = "Creating"|"Available"|"Updating"|"Deleting"|"Failed"|string;
864
868
  export interface EnvironmentSummary {
865
869
  /**
866
870
  * The timestamp when the runtime environment was created.
@@ -1344,9 +1348,15 @@ declare namespace M2 {
1344
1348
  */
1345
1349
  vpcId: String50;
1346
1350
  }
1351
+ export interface GetSignedBluinsightsUrlResponse {
1352
+ /**
1353
+ * Single sign-on AWS Blu Insights URL.
1354
+ */
1355
+ signedBiUrl: String;
1356
+ }
1347
1357
  export interface HighAvailabilityConfig {
1348
1358
  /**
1349
- * The number of instances in a high availability configuration.
1359
+ * The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
1350
1360
  */
1351
1361
  desiredCapacity: CapacityValue;
1352
1362
  }
@@ -1851,7 +1861,7 @@ declare namespace M2 {
1851
1861
  */
1852
1862
  applyDuringMaintenanceWindow?: Boolean;
1853
1863
  /**
1854
- * The desired capacity for the runtime environment to update.
1864
+ * The desired capacity for the runtime environment to update. The minimum possible value is 0 and the maximum is 100.
1855
1865
  */
1856
1866
  desiredCapacity?: CapacityValue;
1857
1867
  /**
@@ -44,11 +44,11 @@ declare class Snowball extends Service {
44
44
  */
45
45
  createCluster(callback?: (err: AWSError, data: Snowball.Types.CreateClusterResult) => void): Request<Snowball.Types.CreateClusterResult, AWSError>;
46
46
  /**
47
- * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your Amazon Web Services account must have the right trust policies and permissions in place to create a job for a Snow device. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster. Only the Snowball; Edge device type is supported when ordering clustered jobs. The device capacity is optional. Availability of device types differ by Amazon Web Services Region. For more information about Region availability, see Amazon Web Services Regional Services. Snow Family devices and their capacities. Device type: SNC1_SSD Capacity: T14 Description: Snowcone Device type: SNC1_HDD Capacity: T8 Description: Snowcone Device type: EDGE_S Capacity: T98 Description: Snowball Edge Storage Optimized for data transfer only Device type: EDGE_CG Capacity: T42 Description: Snowball Edge Compute Optimized with GPU Device type: EDGE_C Capacity: T42 Description: Snowball Edge Compute Optimized without GPU Device type: EDGE Capacity: T100 Description: Snowball Edge Storage Optimized with EC2 Compute Device type: STANDARD Capacity: T50 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region Device type: STANDARD Capacity: T80 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region. Device type: V3_5C Capacity: T32 Description: Snowball Edge Compute Optimized without GPU Device type: V3_5S Capacity: T240 Description: Snowball Edge Storage Optimized 210TB
47
+ * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your Amazon Web Services account must have the right trust policies and permissions in place to create a job for a Snow device. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster. Only the Snowball; Edge device type is supported when ordering clustered jobs. The device capacity is optional. Availability of device types differ by Amazon Web Services Region. For more information about Region availability, see Amazon Web Services Regional Services. Snow Family devices and their capacities. Device type: SNC1_SSD Capacity: T14 Description: Snowcone Device type: SNC1_HDD Capacity: T8 Description: Snowcone Device type: EDGE_S Capacity: T98 Description: Snowball Edge Storage Optimized for data transfer only Device type: EDGE_CG Capacity: T42 Description: Snowball Edge Compute Optimized with GPU Device type: EDGE_C Capacity: T42 Description: Snowball Edge Compute Optimized without GPU Device type: EDGE Capacity: T100 Description: Snowball Edge Storage Optimized with EC2 Compute This device is replaced with T98. Device type: STANDARD Capacity: T50 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region Device type: STANDARD Capacity: T80 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region. Snow Family device type: RACK_5U_C Capacity: T13 Description: Snowblade. Device type: V3_5S Capacity: T240 Description: Snowball Edge Storage Optimized 210TB
48
48
  */
49
49
  createJob(params: Snowball.Types.CreateJobRequest, callback?: (err: AWSError, data: Snowball.Types.CreateJobResult) => void): Request<Snowball.Types.CreateJobResult, AWSError>;
50
50
  /**
51
- * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your Amazon Web Services account must have the right trust policies and permissions in place to create a job for a Snow device. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster. Only the Snowball; Edge device type is supported when ordering clustered jobs. The device capacity is optional. Availability of device types differ by Amazon Web Services Region. For more information about Region availability, see Amazon Web Services Regional Services. Snow Family devices and their capacities. Device type: SNC1_SSD Capacity: T14 Description: Snowcone Device type: SNC1_HDD Capacity: T8 Description: Snowcone Device type: EDGE_S Capacity: T98 Description: Snowball Edge Storage Optimized for data transfer only Device type: EDGE_CG Capacity: T42 Description: Snowball Edge Compute Optimized with GPU Device type: EDGE_C Capacity: T42 Description: Snowball Edge Compute Optimized without GPU Device type: EDGE Capacity: T100 Description: Snowball Edge Storage Optimized with EC2 Compute Device type: STANDARD Capacity: T50 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region Device type: STANDARD Capacity: T80 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region. Device type: V3_5C Capacity: T32 Description: Snowball Edge Compute Optimized without GPU Device type: V3_5S Capacity: T240 Description: Snowball Edge Storage Optimized 210TB
51
+ * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your Amazon Web Services account must have the right trust policies and permissions in place to create a job for a Snow device. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster. Only the Snowball; Edge device type is supported when ordering clustered jobs. The device capacity is optional. Availability of device types differ by Amazon Web Services Region. For more information about Region availability, see Amazon Web Services Regional Services. Snow Family devices and their capacities. Device type: SNC1_SSD Capacity: T14 Description: Snowcone Device type: SNC1_HDD Capacity: T8 Description: Snowcone Device type: EDGE_S Capacity: T98 Description: Snowball Edge Storage Optimized for data transfer only Device type: EDGE_CG Capacity: T42 Description: Snowball Edge Compute Optimized with GPU Device type: EDGE_C Capacity: T42 Description: Snowball Edge Compute Optimized without GPU Device type: EDGE Capacity: T100 Description: Snowball Edge Storage Optimized with EC2 Compute This device is replaced with T98. Device type: STANDARD Capacity: T50 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region Device type: STANDARD Capacity: T80 Description: Original Snowball device This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region. Snow Family device type: RACK_5U_C Capacity: T13 Description: Snowblade. Device type: V3_5S Capacity: T240 Description: Snowball Edge Storage Optimized 210TB
52
52
  */
53
53
  createJob(callback?: (err: AWSError, data: Snowball.Types.CreateJobResult) => void): Request<Snowball.Types.CreateJobResult, AWSError>;
54
54
  /**
@@ -156,11 +156,11 @@ declare class Snowball extends Service {
156
156
  */
157
157
  listClusters(callback?: (err: AWSError, data: Snowball.Types.ListClustersResult) => void): Request<Snowball.Types.ListClustersResult, AWSError>;
158
158
  /**
159
- * This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your Amazon Web Services accountthat would be supported for use on a Snow device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs.
159
+ * This action returns a list of the different Amazon EC2-compatible Amazon Machine Images (AMIs) that are owned by your Amazon Web Services accountthat would be supported for use on a Snow device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs.
160
160
  */
161
161
  listCompatibleImages(params: Snowball.Types.ListCompatibleImagesRequest, callback?: (err: AWSError, data: Snowball.Types.ListCompatibleImagesResult) => void): Request<Snowball.Types.ListCompatibleImagesResult, AWSError>;
162
162
  /**
163
- * This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your Amazon Web Services accountthat would be supported for use on a Snow device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs.
163
+ * This action returns a list of the different Amazon EC2-compatible Amazon Machine Images (AMIs) that are owned by your Amazon Web Services accountthat would be supported for use on a Snow device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the Amazon Web Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export and running locally in AMIs.
164
164
  */
165
165
  listCompatibleImages(callback?: (err: AWSError, data: Snowball.Types.ListCompatibleImagesResult) => void): Request<Snowball.Types.ListCompatibleImagesResult, AWSError>;
166
166
  /**
@@ -179,6 +179,14 @@ declare class Snowball extends Service {
179
179
  * Lists all long-term pricing types.
180
180
  */
181
181
  listLongTermPricing(callback?: (err: AWSError, data: Snowball.Types.ListLongTermPricingResult) => void): Request<Snowball.Types.ListLongTermPricingResult, AWSError>;
182
+ /**
183
+ * A list of locations from which the customer can choose to pickup a device.
184
+ */
185
+ listPickupLocations(params: Snowball.Types.ListPickupLocationsRequest, callback?: (err: AWSError, data: Snowball.Types.ListPickupLocationsResult) => void): Request<Snowball.Types.ListPickupLocationsResult, AWSError>;
186
+ /**
187
+ * A list of locations from which the customer can choose to pickup a device.
188
+ */
189
+ listPickupLocations(callback?: (err: AWSError, data: Snowball.Types.ListPickupLocationsResult) => void): Request<Snowball.Types.ListPickupLocationsResult, AWSError>;
182
190
  /**
183
191
  * Lists all supported versions for Snow on-device services. Returns an array of ServiceVersion object containing the supported versions for a particular service.
184
192
  */
@@ -278,9 +286,14 @@ declare namespace Snowball {
278
286
  * If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.
279
287
  */
280
288
  IsRestricted?: Boolean;
289
+ /**
290
+ * Differentiates between delivery address and pickup address in the customer account. Provided at job creation.
291
+ */
292
+ Type?: AddressType;
281
293
  }
282
294
  export type AddressId = string;
283
295
  export type AddressList = Address[];
296
+ export type AddressType = "CUST_PICKUP"|"AWS_SHIP"|string;
284
297
  export type AmiId = string;
285
298
  export type Boolean = boolean;
286
299
  export interface CancelClusterRequest {
@@ -547,13 +560,21 @@ declare namespace Snowball {
547
560
  */
548
561
  DeviceConfiguration?: DeviceConfiguration;
549
562
  /**
550
- * Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to INSTALLED_AUTOSTART, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.
563
+ * Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to INSTALLED_AUTOSTART, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Edge client to manage the device. When set to NOT_INSTALLED, remote management will not be available on the device.
551
564
  */
552
565
  RemoteManagement?: RemoteManagement;
553
566
  /**
554
567
  * The ID of the long-term pricing type for the device.
555
568
  */
556
569
  LongTermPricingId?: LongTermPricingId;
570
+ /**
571
+ * The highest impact level of data that will be stored or processed on the device, provided at job creation.
572
+ */
573
+ ImpactLevel?: ImpactLevel;
574
+ /**
575
+ * Information identifying the person picking up the device.
576
+ */
577
+ PickupDetails?: PickupDetails;
557
578
  }
558
579
  export interface CreateJobResult {
559
580
  /**
@@ -573,7 +594,7 @@ declare namespace Snowball {
573
594
  /**
574
595
  * The type of Snow Family devices to use for the long-term pricing job.
575
596
  */
576
- SnowballType?: SnowballType;
597
+ SnowballType: SnowballType;
577
598
  }
578
599
  export interface CreateLongTermPricingResult {
579
600
  /**
@@ -712,6 +733,7 @@ declare namespace Snowball {
712
733
  */
713
734
  SnowconeDeviceConfiguration?: SnowconeDeviceConfiguration;
714
735
  }
736
+ export type DevicePickupId = string;
715
737
  export type DeviceServiceName = "NFS_ON_DEVICE_SERVICE"|"S3_ON_DEVICE_SERVICE"|string;
716
738
  export interface EKSOnDeviceServiceConfiguration {
717
739
  /**
@@ -734,6 +756,7 @@ declare namespace Snowball {
734
756
  SnowballAmiId?: String;
735
757
  }
736
758
  export type Ec2AmiResourceList = Ec2AmiResource[];
759
+ export type Email = string;
737
760
  export interface EventTriggerDefinition {
738
761
  /**
739
762
  * The Amazon Resource Name (ARN) for any local Amazon S3 resource that is an Lambda function's event trigger associated with this job.
@@ -796,6 +819,7 @@ declare namespace Snowball {
796
819
  */
797
820
  GSTIN?: GSTIN;
798
821
  }
822
+ export type ImpactLevel = "IL2"|"IL4"|"IL5"|"IL6"|"IL99"|string;
799
823
  export type InitialClusterSize = number;
800
824
  export type Integer = number;
801
825
  export type JavaBoolean = boolean;
@@ -931,6 +955,18 @@ declare namespace Snowball {
931
955
  * Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
932
956
  */
933
957
  OnDeviceServiceConfiguration?: OnDeviceServiceConfiguration;
958
+ /**
959
+ * The highest impact level of data that will be stored or processed on the device, provided at job creation.
960
+ */
961
+ ImpactLevel?: ImpactLevel;
962
+ /**
963
+ * Information identifying the person picking up the device.
964
+ */
965
+ PickupDetails?: PickupDetails;
966
+ /**
967
+ * Unique ID associated with a device.
968
+ */
969
+ SnowballId?: String;
934
970
  }
935
971
  export type JobMetadataList = JobMetadata[];
936
972
  export interface JobResource {
@@ -1077,6 +1113,26 @@ declare namespace Snowball {
1077
1113
  */
1078
1114
  NextToken?: String;
1079
1115
  }
1116
+ export interface ListPickupLocationsRequest {
1117
+ /**
1118
+ * The maximum number of locations to list per page.
1119
+ */
1120
+ MaxResults?: ListLimit;
1121
+ /**
1122
+ * HTTP requests are stateless. To identify what object comes "next" in the list of ListPickupLocationsRequest objects, you have the option of specifying NextToken as the starting point for your returned list.
1123
+ */
1124
+ NextToken?: String;
1125
+ }
1126
+ export interface ListPickupLocationsResult {
1127
+ /**
1128
+ * Information about the address of pickup locations.
1129
+ */
1130
+ Addresses?: AddressList;
1131
+ /**
1132
+ * HTTP requests are stateless. To identify what object comes "next" in the list of ListPickupLocationsResult objects, you have the option of specifying NextToken as the starting point for your returned list.
1133
+ */
1134
+ NextToken?: String;
1135
+ }
1080
1136
  export interface ListServiceVersionsRequest {
1081
1137
  /**
1082
1138
  * The name of the service for which you're requesting supported versions.
@@ -1185,6 +1241,10 @@ declare namespace Snowball {
1185
1241
  * Any change in job state will trigger a notification for this job.
1186
1242
  */
1187
1243
  NotifyAll?: Boolean;
1244
+ /**
1245
+ * Used to send SNS notifications for the person picking up the device (identified during job creation).
1246
+ */
1247
+ DevicePickupSnsTopicARN?: SnsTopicARN;
1188
1248
  }
1189
1249
  export interface OnDeviceServiceConfiguration {
1190
1250
  /**
@@ -1204,7 +1264,38 @@ declare namespace Snowball {
1204
1264
  */
1205
1265
  S3OnDeviceService?: S3OnDeviceServiceConfiguration;
1206
1266
  }
1207
- export type RemoteManagement = "INSTALLED_ONLY"|"INSTALLED_AUTOSTART"|string;
1267
+ export type PhoneNumber = string;
1268
+ export interface PickupDetails {
1269
+ /**
1270
+ * The name of the person picking up the device.
1271
+ */
1272
+ Name?: String;
1273
+ /**
1274
+ * The phone number of the person picking up the device.
1275
+ */
1276
+ PhoneNumber?: PhoneNumber;
1277
+ /**
1278
+ * The email address of the person picking up the device.
1279
+ */
1280
+ Email?: Email;
1281
+ /**
1282
+ * The number on the credential identifying the person picking up the device.
1283
+ */
1284
+ IdentificationNumber?: String;
1285
+ /**
1286
+ * Expiration date of the credential identifying the person picking up the device.
1287
+ */
1288
+ IdentificationExpirationDate?: Timestamp;
1289
+ /**
1290
+ * Organization that issued the credential identifying the person picking up the device.
1291
+ */
1292
+ IdentificationIssuingOrg?: String;
1293
+ /**
1294
+ * The unique ID for a device that will be picked up.
1295
+ */
1296
+ DevicePickupId?: DevicePickupId;
1297
+ }
1298
+ export type RemoteManagement = "INSTALLED_ONLY"|"INSTALLED_AUTOSTART"|"NOT_INSTALLED"|string;
1208
1299
  export type ResourceARN = string;
1209
1300
  export type RoleARN = string;
1210
1301
  export interface S3OnDeviceServiceConfiguration {
@@ -1277,8 +1368,8 @@ declare namespace Snowball {
1277
1368
  }
1278
1369
  export type ShippingLabelStatus = "InProgress"|"TimedOut"|"Succeeded"|"Failed"|string;
1279
1370
  export type ShippingOption = "SECOND_DAY"|"NEXT_DAY"|"EXPRESS"|"STANDARD"|string;
1280
- export type SnowballCapacity = "T50"|"T80"|"T100"|"T42"|"T98"|"T8"|"T14"|"T32"|"NoPreference"|"T240"|string;
1281
- export type SnowballType = "STANDARD"|"EDGE"|"EDGE_C"|"EDGE_CG"|"EDGE_S"|"SNC1_HDD"|"SNC1_SSD"|"V3_5C"|"V3_5S"|string;
1371
+ export type SnowballCapacity = "T50"|"T80"|"T100"|"T42"|"T98"|"T8"|"T14"|"T32"|"NoPreference"|"T240"|"T13"|string;
1372
+ export type SnowballType = "STANDARD"|"EDGE"|"EDGE_C"|"EDGE_CG"|"EDGE_S"|"SNC1_HDD"|"SNC1_SSD"|"V3_5C"|"V3_5S"|"RACK_5U_C"|string;
1282
1373
  export interface SnowconeDeviceConfiguration {
1283
1374
  /**
1284
1375
  * Configures the wireless connection for the Snowcone device.
@@ -1396,6 +1487,7 @@ declare namespace Snowball {
1396
1487
  * The updated ID for the forwarding address for a job. This field is not supported in most regions.
1397
1488
  */
1398
1489
  ForwardingAddressId?: AddressId;
1490
+ PickupDetails?: PickupDetails;
1399
1491
  }
1400
1492
  export interface UpdateJobResult {
1401
1493
  }
@@ -255,7 +255,7 @@ declare namespace Translate {
255
255
  */
256
256
  Content: DocumentContent;
257
257
  /**
258
- * Describes the format of the document. You can specify one of the following: text/html - The input data consists of HTML content. Amazon Translate translates only the text in the HTML element. text/plain - The input data consists of unformatted text. Amazon Translate translates every character in the content.
258
+ * Describes the format of the document. You can specify one of the following: text/html - The input data consists of HTML content. Amazon Translate translates only the text in the HTML element. text/plain - The input data consists of unformatted text. Amazon Translate translates every character in the content. application/vnd.openxmlformats-officedocument.wordprocessingml.document - The input data consists of a Word document (.docx).
259
259
  */
260
260
  ContentType: ContentType;
261
261
  }
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1415.0',
86
+ VERSION: '2.1417.0',
87
87
 
88
88
  /**
89
89
  * @api private
@@ -10073,45 +10073,78 @@ return /******/ (function(modules) { // webpackBootstrap
10073
10073
  var typedArrays = availableTypedArrays();
10074
10074
 
10075
10075
  var $slice = callBound('String.prototype.slice');
10076
- var toStrTags = { __proto__: null };
10077
10076
  var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
10077
+
10078
+ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
10079
+ for (var i = 0; i < array.length; i += 1) {
10080
+ if (array[i] === value) {
10081
+ return i;
10082
+ }
10083
+ }
10084
+ return -1;
10085
+ };
10086
+ var cache = { __proto__: null };
10078
10087
  if (hasToStringTag && gOPD && getPrototypeOf) {
10079
10088
  forEach(typedArrays, function (typedArray) {
10080
- if (typeof g[typedArray] === 'function') {
10081
- var arr = new g[typedArray]();
10082
- if (Symbol.toStringTag in arr) {
10083
- var proto = getPrototypeOf(arr);
10084
- var descriptor = gOPD(proto, Symbol.toStringTag);
10085
- if (!descriptor) {
10086
- var superProto = getPrototypeOf(proto);
10087
- descriptor = gOPD(superProto, Symbol.toStringTag);
10088
- }
10089
- toStrTags[typedArray] = callBind(descriptor.get);
10089
+ var arr = new g[typedArray]();
10090
+ if (Symbol.toStringTag in arr) {
10091
+ var proto = getPrototypeOf(arr);
10092
+ var descriptor = gOPD(proto, Symbol.toStringTag);
10093
+ if (!descriptor) {
10094
+ var superProto = getPrototypeOf(proto);
10095
+ descriptor = gOPD(superProto, Symbol.toStringTag);
10090
10096
  }
10097
+ cache['$' + typedArray] = callBind(descriptor.get);
10091
10098
  }
10092
10099
  });
10100
+ } else {
10101
+ forEach(typedArrays, function (typedArray) {
10102
+ var arr = new g[typedArray]();
10103
+ cache['$' + typedArray] = callBind(arr.slice);
10104
+ });
10093
10105
  }
10094
10106
 
10095
10107
  var tryTypedArrays = function tryAllTypedArrays(value) {
10096
- var foundName = false;
10097
- forEach(toStrTags, function (getter, typedArray) {
10098
- if (!foundName) {
10108
+ var found = false;
10109
+ forEach(cache, function (getter, typedArray) {
10110
+ if (!found) {
10099
10111
  try {
10100
- var name = getter(value);
10101
- if (name === typedArray) {
10102
- foundName = name;
10112
+ if ('$' + getter(value) === typedArray) {
10113
+ found = $slice(typedArray, 1);
10103
10114
  }
10104
- } catch (e) {}
10115
+ } catch (e) { /**/ }
10105
10116
  }
10106
10117
  });
10107
- return foundName;
10118
+ return found;
10108
10119
  };
10109
10120
 
10110
- var isTypedArray = __webpack_require__(71);
10121
+ var trySlices = function tryAllSlices(value) {
10122
+ var found = false;
10123
+ forEach(cache, function (getter, name) {
10124
+ if (!found) {
10125
+ try {
10126
+ getter(value);
10127
+ found = $slice(name, 1);
10128
+ } catch (e) { /**/ }
10129
+ }
10130
+ });
10131
+ return found;
10132
+ };
10111
10133
 
10112
10134
  module.exports = function whichTypedArray(value) {
10113
- if (!isTypedArray(value)) { return false; }
10114
- if (!hasToStringTag || !(Symbol.toStringTag in value)) { return $slice($toString(value), 8, -1); }
10135
+ if (!value || typeof value !== 'object') { return false; }
10136
+ if (!hasToStringTag) {
10137
+ var tag = $slice($toString(value), 8, -1);
10138
+ if ($indexOf(typedArrays, tag) > -1) {
10139
+ return tag;
10140
+ }
10141
+ if (tag !== 'Object') {
10142
+ return false;
10143
+ }
10144
+ // node < 0.6 hits here on real Typed Arrays
10145
+ return trySlices(value);
10146
+ }
10147
+ if (!gOPD) { return null; } // unknown engine
10115
10148
  return tryTypedArrays(value);
10116
10149
  };
10117
10150
 
@@ -10352,68 +10385,14 @@ return /******/ (function(modules) { // webpackBootstrap
10352
10385
  /* 71 */
10353
10386
  /***/ (function(module, exports, __webpack_require__) {
10354
10387
 
10355
- /* WEBPACK VAR INJECTION */(function(global) {'use strict';
10356
-
10357
- var forEach = __webpack_require__(67);
10358
- var availableTypedArrays = __webpack_require__(69);
10359
- var callBound = __webpack_require__(57);
10360
-
10361
- var $toString = callBound('Object.prototype.toString');
10362
- var hasToStringTag = __webpack_require__(55)();
10363
- var gOPD = __webpack_require__(70);
10364
-
10365
- var g = typeof globalThis === 'undefined' ? global : globalThis;
10366
- var typedArrays = availableTypedArrays();
10367
-
10368
- var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
10369
- for (var i = 0; i < array.length; i += 1) {
10370
- if (array[i] === value) {
10371
- return i;
10372
- }
10373
- }
10374
- return -1;
10375
- };
10376
- var $slice = callBound('String.prototype.slice');
10377
- var toStrTags = {};
10378
- var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
10379
- if (hasToStringTag && gOPD && getPrototypeOf) {
10380
- forEach(typedArrays, function (typedArray) {
10381
- var arr = new g[typedArray]();
10382
- if (Symbol.toStringTag in arr) {
10383
- var proto = getPrototypeOf(arr);
10384
- var descriptor = gOPD(proto, Symbol.toStringTag);
10385
- if (!descriptor) {
10386
- var superProto = getPrototypeOf(proto);
10387
- descriptor = gOPD(superProto, Symbol.toStringTag);
10388
- }
10389
- toStrTags[typedArray] = descriptor.get;
10390
- }
10391
- });
10392
- }
10388
+ 'use strict';
10393
10389
 
10394
- var tryTypedArrays = function tryAllTypedArrays(value) {
10395
- var anyTrue = false;
10396
- forEach(toStrTags, function (getter, typedArray) {
10397
- if (!anyTrue) {
10398
- try {
10399
- anyTrue = getter.call(value) === typedArray;
10400
- } catch (e) { /**/ }
10401
- }
10402
- });
10403
- return anyTrue;
10404
- };
10390
+ var whichTypedArray = __webpack_require__(66);
10405
10391
 
10406
10392
  module.exports = function isTypedArray(value) {
10407
- if (!value || typeof value !== 'object') { return false; }
10408
- if (!hasToStringTag || !(Symbol.toStringTag in value)) {
10409
- var tag = $slice($toString(value), 8, -1);
10410
- return $indexOf(typedArrays, tag) > -1;
10411
- }
10412
- if (!gOPD) { return false; }
10413
- return tryTypedArrays(value);
10393
+ return !!whichTypedArray(value);
10414
10394
  };
10415
10395
 
10416
- /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
10417
10396
 
10418
10397
  /***/ }),
10419
10398
  /* 72 */