cdk-comprehend-s3olap 2.0.108 → 2.0.109

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.
@@ -267,6 +267,14 @@ declare class Location extends Service {
267
267
  * Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level. The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).
268
268
  */
269
269
  getMapTile(callback?: (err: AWSError, data: Location.Types.GetMapTileResponse) => void): Request<Location.Types.GetMapTileResponse, AWSError>;
270
+ /**
271
+ * Finds a place by its unique ID. A PlaceId is returned by other search operations. A PlaceId is valid only if all of the following are the same in the original search request and the call to GetPlace. Customer AWS account AWS Region Data provider specified in the place index resource
272
+ */
273
+ getPlace(params: Location.Types.GetPlaceRequest, callback?: (err: AWSError, data: Location.Types.GetPlaceResponse) => void): Request<Location.Types.GetPlaceResponse, AWSError>;
274
+ /**
275
+ * Finds a place by its unique ID. A PlaceId is returned by other search operations. A PlaceId is valid only if all of the following are the same in the original search request and the call to GetPlace. Customer AWS account AWS Region Data provider specified in the place index resource
276
+ */
277
+ getPlace(callback?: (err: AWSError, data: Location.Types.GetPlaceResponse) => void): Request<Location.Types.GetPlaceResponse, AWSError>;
270
278
  /**
271
279
  * A batch request to retrieve all device positions.
272
280
  */
@@ -935,7 +943,7 @@ declare namespace Location {
935
943
  /**
936
944
  * The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS. Format example: arn:aws:geo:region:account-id:maps/ExampleMap
937
945
  */
938
- MapArn: Arn;
946
+ MapArn: GeoArn;
939
947
  /**
940
948
  * The name of the map resource.
941
949
  */
@@ -1177,7 +1185,7 @@ declare namespace Location {
1177
1185
  /**
1178
1186
  * The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS. Format example: arn:aws:geo:region:account-id:maps/ExampleMap
1179
1187
  */
1180
- MapArn: Arn;
1188
+ MapArn: GeoArn;
1181
1189
  /**
1182
1190
  * The map style selected from an available provider.
1183
1191
  */
@@ -1391,6 +1399,7 @@ declare namespace Location {
1391
1399
  }
1392
1400
  export type DistanceUnit = "Kilometers"|"Miles"|string;
1393
1401
  export type Double = number;
1402
+ export type GeoArn = string;
1394
1403
  export interface GeofenceGeometry {
1395
1404
  /**
1396
1405
  * A circle on the earth, as defined by a center point and a radius.
@@ -1533,7 +1542,7 @@ declare namespace Location {
1533
1542
  }
1534
1543
  export interface GetMapSpritesRequest {
1535
1544
  /**
1536
- * The name of the sprite file. Use the following file names for the sprite sheet: sprites.png sprites@2x.png for high pixel density displays For the JSON document contain image offsets. Use the following file names: sprites.json sprites@2x.json for high pixel density displays
1545
+ * The name of the sprite file. Use the following file names for the sprite sheet: sprites.png sprites@2x.png for high pixel density displays For the JSON document containing image offsets. Use the following file names: sprites.json sprites@2x.json for high pixel density displays
1537
1546
  */
1538
1547
  FileName: GetMapSpritesRequestFileNameString;
1539
1548
  /**
@@ -1599,6 +1608,26 @@ declare namespace Location {
1599
1608
  */
1600
1609
  ContentType?: String;
1601
1610
  }
1611
+ export interface GetPlaceRequest {
1612
+ /**
1613
+ * The name of the place index resource that you want to use for the search.
1614
+ */
1615
+ IndexName: ResourceName;
1616
+ /**
1617
+ * The preferred language used to return results. The value must be a valid BCP 47 language tag, for example, en for English. This setting affects the languages used in the results, but not the results themselves. If no language is specified, or not supported for a particular result, the partner automatically chooses a language for the result. For an example, we'll use the Greek language. You search for a location around Athens, Greece, with the language parameter set to en. The city in the results will most likely be returned as Athens. If you set the language parameter to el, for Greek, then the city in the results will more likely be returned as Αθήνα. If the data provider does not have a value for Greek, the result will be in a language that the provider does support.
1618
+ */
1619
+ Language?: LanguageTag;
1620
+ /**
1621
+ * The identifier of the place to find.
1622
+ */
1623
+ PlaceId: PlaceId;
1624
+ }
1625
+ export interface GetPlaceResponse {
1626
+ /**
1627
+ * Details about the result, such as its address and position.
1628
+ */
1629
+ Place: Place;
1630
+ }
1602
1631
  export type Id = string;
1603
1632
  export type Integer = number;
1604
1633
  export type IntendedUse = "SingleUse"|"Storage"|string;
@@ -2068,6 +2097,14 @@ declare namespace Location {
2068
2097
  * The time zone in which the Place is located. Returned only when using Here as the selected partner.
2069
2098
  */
2070
2099
  TimeZone?: TimeZone;
2100
+ /**
2101
+ * For addresses with multiple units, the unit identifier. Can include numbers and letters, for example 3B or Unit 123. Returned only for a place index that uses Esri as a data provider. Is not returned for SearchPlaceIndexForPosition.
2102
+ */
2103
+ UnitNumber?: String;
2104
+ /**
2105
+ * For addresses with a UnitNumber, the type of unit. For example, Apartment.
2106
+ */
2107
+ UnitType?: String;
2071
2108
  }
2072
2109
  export interface PlaceGeometry {
2073
2110
  /**
@@ -2075,6 +2112,7 @@ declare namespace Location {
2075
2112
  */
2076
2113
  Point?: Position;
2077
2114
  }
2115
+ export type PlaceId = string;
2078
2116
  export type PlaceIndexSearchResultLimit = number;
2079
2117
  export type Position = Double[];
2080
2118
  export type PositionFiltering = "TimeBased"|"DistanceBased"|"AccuracyBased"|string;
@@ -2157,10 +2195,18 @@ declare namespace Location {
2157
2195
  * Details about the search result, such as its address and position.
2158
2196
  */
2159
2197
  Place: Place;
2198
+ /**
2199
+ * The unique identifier of the place. You can use this with the GetPlace operation to find the place again later. For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE as a data provider.
2200
+ */
2201
+ PlaceId?: PlaceId;
2160
2202
  }
2161
2203
  export type SearchForPositionResultDistanceDouble = number;
2162
2204
  export type SearchForPositionResultList = SearchForPositionResult[];
2163
2205
  export interface SearchForSuggestionsResult {
2206
+ /**
2207
+ * The unique identifier of the place. You can use this with the GetPlace operation to find the place again later. For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes that use HERE or Esri as data providers.
2208
+ */
2209
+ PlaceId?: PlaceId;
2164
2210
  /**
2165
2211
  * The text of the place suggestion, typically formatted as an address string.
2166
2212
  */
@@ -2176,6 +2222,10 @@ declare namespace Location {
2176
2222
  * Details about the search result, such as its address and position.
2177
2223
  */
2178
2224
  Place: Place;
2225
+ /**
2226
+ * The unique identifier of the place. You can use this with the GetPlace operation to find the place again later. For SearchPlaceIndexForText operations, the PlaceId is returned only by place indexes that use HERE as a data provider.
2227
+ */
2228
+ PlaceId?: PlaceId;
2179
2229
  /**
2180
2230
  * The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1. Returned only when the partner selected is Esri.
2181
2231
  */
@@ -2528,7 +2578,7 @@ declare namespace Location {
2528
2578
  /**
2529
2579
  * The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS. Format example: arn:aws:geo:region:account-id:maps/ExampleMap
2530
2580
  */
2531
- MapArn: Arn;
2581
+ MapArn: GeoArn;
2532
2582
  /**
2533
2583
  * The name of the updated map resource.
2534
2584
  */
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1224.0',
86
+ VERSION: '2.1225.0',
87
87
 
88
88
  /**
89
89
  * @api private
@@ -3546,6 +3546,18 @@ return /******/ (function(modules) { // webpackBootstrap
3546
3546
  var JsonBuilder = __webpack_require__(19);
3547
3547
  var JsonParser = __webpack_require__(20);
3548
3548
 
3549
+ var METHODS_WITHOUT_BODY = ['GET', 'HEAD', 'DELETE'];
3550
+
3551
+ function unsetContentLength(req) {
3552
+ var payloadMember = util.getRequestPayloadShape(req);
3553
+ if (
3554
+ payloadMember === undefined &&
3555
+ METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method) >= 0
3556
+ ) {
3557
+ delete req.httpRequest.headers['Content-Length'];
3558
+ }
3559
+ }
3560
+
3549
3561
  function populateBody(req) {
3550
3562
  var builder = new JsonBuilder();
3551
3563
  var input = req.service.api.operations[req.operation].input;
@@ -3582,7 +3594,7 @@ return /******/ (function(modules) { // webpackBootstrap
3582
3594
  Rest.buildRequest(req);
3583
3595
 
3584
3596
  // never send body payload on GET/HEAD/DELETE
3585
- if (['GET', 'HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) {
3597
+ if (METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method) < 0) {
3586
3598
  populateBody(req);
3587
3599
  }
3588
3600
  }
@@ -3631,7 +3643,8 @@ return /******/ (function(modules) { // webpackBootstrap
3631
3643
  module.exports = {
3632
3644
  buildRequest: buildRequest,
3633
3645
  extractError: extractError,
3634
- extractData: extractData
3646
+ extractData: extractData,
3647
+ unsetContentLength: unsetContentLength
3635
3648
  };
3636
3649
 
3637
3650
 
@@ -7790,6 +7803,7 @@ return /******/ (function(modules) { // webpackBootstrap
7790
7803
  add('BUILD', 'build', svc.buildRequest);
7791
7804
  add('EXTRACT_DATA', 'extractData', svc.extractData);
7792
7805
  add('EXTRACT_ERROR', 'extractError', svc.extractError);
7806
+ add('UNSET_CONTENT_LENGTH', 'afterBuild', svc.unsetContentLength);
7793
7807
  }),
7794
7808
 
7795
7809
  RestXml: new SequentialExecutor().addNamedListeners(function(add) {