aws-sdk-locationservice 1.28.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,10 +24,114 @@ module Aws::LocationService
24
24
  include Aws::Structure
25
25
  end
26
26
 
27
+ # Options for filtering API keys.
28
+ #
29
+ # @!attribute [rw] key_status
30
+ # Filter on `Active` or `Expired` API keys.
31
+ # @return [String]
32
+ #
33
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ApiKeyFilter AWS API Documentation
34
+ #
35
+ class ApiKeyFilter < Struct.new(
36
+ :key_status)
37
+ SENSITIVE = []
38
+ include Aws::Structure
39
+ end
40
+
41
+ # API Restrictions on the allowed actions, resources, and referers for
42
+ # an API key resource.
43
+ #
44
+ # @!attribute [rw] allow_actions
45
+ # A list of allowed actions that an API key resource grants
46
+ # permissions to perform
47
+ #
48
+ # <note markdown="1"> Currently, the only valid action is `geo:GetMap*` as an input to the
49
+ # list. For example, `["geo:GetMap*"]` is valid but
50
+ # `["geo:GetMapTile"]` is not.
51
+ #
52
+ # </note>
53
+ # @return [Array<String>]
54
+ #
55
+ # @!attribute [rw] allow_referers
56
+ # An optional list of allowed HTTP referers for which requests must
57
+ # originate from. Requests using this API key from other domains will
58
+ # not be allowed.
59
+ #
60
+ # Requirements:
61
+ #
62
+ # * Contain only alphanumeric characters (A–Z, a–z, 0–9) or any
63
+ # symbols in this list `` $\-._+!*`(),;/?:@=& ``
64
+ #
65
+ # * May contain a percent (%) if followed by 2 hexadecimal digits
66
+ # (A-F, a-f, 0-9); this is used for URL encoding purposes.
67
+ #
68
+ # * May contain wildcard characters question mark (?) and asterisk
69
+ # (*).
70
+ #
71
+ # Question mark (?) will replace any single character (including
72
+ # hexadecimal digits).
73
+ #
74
+ # Asterisk (*) will replace any multiple characters (including
75
+ # multiple hexadecimal digits).
76
+ #
77
+ # * No spaces allowed. For example, `https://example.com`.
78
+ # @return [Array<String>]
79
+ #
80
+ # @!attribute [rw] allow_resources
81
+ # A list of allowed resource ARNs that a API key bearer can perform
82
+ # actions on
83
+ #
84
+ # For more information about ARN format, see [Amazon Resource Names
85
+ # (ARNs)][1].
86
+ #
87
+ # <note markdown="1"> In this preview, you can allow only map resources.
88
+ #
89
+ # </note>
90
+ #
91
+ # Requirements:
92
+ #
93
+ # * Must be prefixed with `arn`.
94
+ #
95
+ # * `partition` and `service` must not be empty and should begin with
96
+ # only alphanumeric characters (A–Z, a–z, 0–9) and contain only
97
+ # alphanumeric numbers, hyphens (-) and periods (.).
98
+ #
99
+ # * `region` and `account-id` can be empty or should begin with only
100
+ # alphanumeric characters (A–Z, a–z, 0–9) and contain only
101
+ # alphanumeric numbers, hyphens (-) and periods (.).
102
+ #
103
+ # * `resource-id` can begin with any character except for forward
104
+ # slash (/) and contain any characters after, including forward
105
+ # slashes to form a path.
106
+ #
107
+ # `resource-id` can also include wildcard characters, denoted by an
108
+ # asterisk (*).
109
+ #
110
+ # * `arn`, `partition`, `service`, `region`, `account-id` and
111
+ # `resource-id` must be delimited by a colon (:).
112
+ #
113
+ # * No spaces allowed. For example,
114
+ # `arn:aws:geo:region:account-id:map/ExampleMap*`.
115
+ #
116
+ #
117
+ #
118
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
119
+ # @return [Array<String>]
120
+ #
121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ApiKeyRestrictions AWS API Documentation
122
+ #
123
+ class ApiKeyRestrictions < Struct.new(
124
+ :allow_actions,
125
+ :allow_referers,
126
+ :allow_resources)
127
+ SENSITIVE = []
128
+ include Aws::Structure
129
+ end
130
+
27
131
  # @!attribute [rw] consumer_arn
28
132
  # The Amazon Resource Name (ARN) for the geofence collection to be
29
133
  # associated to tracker resource. Used when you need to specify a
30
- # resource across all AWS.
134
+ # resource across all Amazon Web Services.
31
135
  #
32
136
  # * Format example:
33
137
  # `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer`
@@ -1157,8 +1261,8 @@ module Aws::LocationService
1157
1261
  # @return [String]
1158
1262
  #
1159
1263
  # @!attribute [rw] kms_key_id
1160
- # A key identifier for an [AWS KMS customer managed key][1]. Enter a
1161
- # key ID, key ARN, alias name, or alias ARN.
1264
+ # A key identifier for an [Amazon Web Services KMS customer managed
1265
+ # key][1]. Enter a key ID, key ARN, alias name, or alias ARN.
1162
1266
  #
1163
1267
  #
1164
1268
  #
@@ -1212,7 +1316,8 @@ module Aws::LocationService
1212
1316
 
1213
1317
  # @!attribute [rw] collection_arn
1214
1318
  # The Amazon Resource Name (ARN) for the geofence collection resource.
1215
- # Used when you need to specify a resource across all AWS.
1319
+ # Used when you need to specify a resource across all Amazon Web
1320
+ # Services.
1216
1321
  #
1217
1322
  # * Format example:
1218
1323
  # `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection`
@@ -1243,6 +1348,120 @@ module Aws::LocationService
1243
1348
  include Aws::Structure
1244
1349
  end
1245
1350
 
1351
+ # @!attribute [rw] description
1352
+ # An optional description for the API key resource.
1353
+ # @return [String]
1354
+ #
1355
+ # @!attribute [rw] expire_time
1356
+ # The optional timestamp for when the API key resource will expire in
1357
+ # [ ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`. One of `NoExpiry`
1358
+ # or `ExpireTime` must be set.
1359
+ #
1360
+ #
1361
+ #
1362
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
1363
+ # @return [Time]
1364
+ #
1365
+ # @!attribute [rw] key_name
1366
+ # A custom name for the API key resource.
1367
+ #
1368
+ # Requirements:
1369
+ #
1370
+ # * Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-),
1371
+ # periods (.), and underscores (\_).
1372
+ #
1373
+ # * Must be a unique API key name.
1374
+ #
1375
+ # * No spaces allowed. For example, `ExampleAPIKey`.
1376
+ # @return [String]
1377
+ #
1378
+ # @!attribute [rw] no_expiry
1379
+ # Optionally set to `true` to set no expiration time for the API key.
1380
+ # One of `NoExpiry` or `ExpireTime` must be set.
1381
+ # @return [Boolean]
1382
+ #
1383
+ # @!attribute [rw] restrictions
1384
+ # The API key restrictions for the API key resource.
1385
+ # @return [Types::ApiKeyRestrictions]
1386
+ #
1387
+ # @!attribute [rw] tags
1388
+ # Applies one or more tags to the map resource. A tag is a key-value
1389
+ # pair that helps manage, identify, search, and filter your resources
1390
+ # by labelling them.
1391
+ #
1392
+ # Format: `"key" : "value"`
1393
+ #
1394
+ # Restrictions:
1395
+ #
1396
+ # * Maximum 50 tags per resource
1397
+ #
1398
+ # * Each resource tag must be unique with a maximum of one value.
1399
+ #
1400
+ # * Maximum key length: 128 Unicode characters in UTF-8
1401
+ #
1402
+ # * Maximum value length: 256 Unicode characters in UTF-8
1403
+ #
1404
+ # * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
1405
+ # characters: + - = . \_ : / @.
1406
+ #
1407
+ # * Cannot use "aws:" as a prefix for a key.
1408
+ # @return [Hash<String,String>]
1409
+ #
1410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateKeyRequest AWS API Documentation
1411
+ #
1412
+ class CreateKeyRequest < Struct.new(
1413
+ :description,
1414
+ :expire_time,
1415
+ :key_name,
1416
+ :no_expiry,
1417
+ :restrictions,
1418
+ :tags)
1419
+ SENSITIVE = []
1420
+ include Aws::Structure
1421
+ end
1422
+
1423
+ # @!attribute [rw] create_time
1424
+ # The timestamp for when the API key resource was created in [ ISO
1425
+ # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1426
+ #
1427
+ #
1428
+ #
1429
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
1430
+ # @return [Time]
1431
+ #
1432
+ # @!attribute [rw] key
1433
+ # The key value/string of an API key. This value is used when making
1434
+ # API calls to authorize the call. For example, see [GetMapGlyphs][1].
1435
+ #
1436
+ #
1437
+ #
1438
+ # [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_GetMapGlyphs.html
1439
+ # @return [String]
1440
+ #
1441
+ # @!attribute [rw] key_arn
1442
+ # The Amazon Resource Name (ARN) for the API key resource. Used when
1443
+ # you need to specify a resource across all Amazon Web Services.
1444
+ #
1445
+ # * Format example: `arn:aws:geo:region:account-id:key/ExampleKey`
1446
+ #
1447
+ # ^
1448
+ # @return [String]
1449
+ #
1450
+ # @!attribute [rw] key_name
1451
+ # The name of the API key resource.
1452
+ # @return [String]
1453
+ #
1454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateKeyResponse AWS API Documentation
1455
+ #
1456
+ class CreateKeyResponse < Struct.new(
1457
+ :create_time,
1458
+ :key,
1459
+ :key_arn,
1460
+ :key_name)
1461
+ SENSITIVE = [:key]
1462
+ include Aws::Structure
1463
+ end
1464
+
1246
1465
  # @!attribute [rw] configuration
1247
1466
  # Specifies the `MapConfiguration`, including the map style, for the
1248
1467
  # map resource that you create. The map style defines the look of maps
@@ -1317,7 +1536,7 @@ module Aws::LocationService
1317
1536
  #
1318
1537
  # @!attribute [rw] map_arn
1319
1538
  # The Amazon Resource Name (ARN) for the map resource. Used to specify
1320
- # a resource across all AWS.
1539
+ # a resource across all Amazon Web Services.
1321
1540
  #
1322
1541
  # * Format example: `arn:aws:geo:region:account-id:map/ExampleMap`
1323
1542
  #
@@ -1362,8 +1581,8 @@ module Aws::LocationService
1362
1581
  #
1363
1582
  # If you specify HERE Technologies (`Here`) as the data provider,
1364
1583
  # you may not [store results][7] for locations in Japan. For more
1365
- # information, see the [AWS Service Terms][8] for Amazon Location
1366
- # Service.
1584
+ # information, see the [Amazon Web Services Service Terms][8] for
1585
+ # Amazon Location Service.
1367
1586
  #
1368
1587
  # For additional information , see [Data providers][9] on the *Amazon
1369
1588
  # Location Service Developer Guide*.
@@ -1377,7 +1596,7 @@ module Aws::LocationService
1377
1596
  # [5]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
1378
1597
  # [6]: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
1379
1598
  # [7]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
1380
- # [8]: https://aws.amazon.com/service-terms/
1599
+ # [8]: http://aws.amazon.com/service-terms/
1381
1600
  # [9]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1382
1601
  # @return [String]
1383
1602
  #
@@ -1455,7 +1674,7 @@ module Aws::LocationService
1455
1674
  #
1456
1675
  # @!attribute [rw] index_arn
1457
1676
  # The Amazon Resource Name (ARN) for the place index resource. Used to
1458
- # specify a resource across AWS.
1677
+ # specify a resource across Amazon Web Services.
1459
1678
  #
1460
1679
  # * Format example:
1461
1680
  # `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex`
@@ -1580,7 +1799,8 @@ module Aws::LocationService
1580
1799
 
1581
1800
  # @!attribute [rw] calculator_arn
1582
1801
  # The Amazon Resource Name (ARN) for the route calculator resource.
1583
- # Use the ARN when you specify a resource across all AWS.
1802
+ # Use the ARN when you specify a resource across all Amazon Web
1803
+ # Services.
1584
1804
  #
1585
1805
  # * Format example:
1586
1806
  # `arn:aws:geo:region:account-id:route-calculator/ExampleCalculator`
@@ -1624,8 +1844,8 @@ module Aws::LocationService
1624
1844
  # @return [String]
1625
1845
  #
1626
1846
  # @!attribute [rw] kms_key_id
1627
- # A key identifier for an [AWS KMS customer managed key][1]. Enter a
1628
- # key ID, key ARN, alias name, or alias ARN.
1847
+ # A key identifier for an [Amazon Web Services KMS customer managed
1848
+ # key][1]. Enter a key ID, key ARN, alias name, or alias ARN.
1629
1849
  #
1630
1850
  #
1631
1851
  #
@@ -1734,7 +1954,7 @@ module Aws::LocationService
1734
1954
  #
1735
1955
  # @!attribute [rw] tracker_arn
1736
1956
  # The Amazon Resource Name (ARN) for the tracker resource. Used when
1737
- # you need to specify a resource across all AWS.
1957
+ # you need to specify a resource across all Amazon Web Services.
1738
1958
  #
1739
1959
  # * Format example:
1740
1960
  # `arn:aws:geo:region:account-id:tracker/ExampleTracker`
@@ -1814,6 +2034,22 @@ module Aws::LocationService
1814
2034
  #
1815
2035
  class DeleteGeofenceCollectionResponse < Aws::EmptyStructure; end
1816
2036
 
2037
+ # @!attribute [rw] key_name
2038
+ # The name of the API key to delete.
2039
+ # @return [String]
2040
+ #
2041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteKeyRequest AWS API Documentation
2042
+ #
2043
+ class DeleteKeyRequest < Struct.new(
2044
+ :key_name)
2045
+ SENSITIVE = []
2046
+ include Aws::Structure
2047
+ end
2048
+
2049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteKeyResponse AWS API Documentation
2050
+ #
2051
+ class DeleteKeyResponse < Aws::EmptyStructure; end
2052
+
1817
2053
  # @!attribute [rw] map_name
1818
2054
  # The name of the map resource to be deleted.
1819
2055
  # @return [String]
@@ -1892,7 +2128,8 @@ module Aws::LocationService
1892
2128
 
1893
2129
  # @!attribute [rw] collection_arn
1894
2130
  # The Amazon Resource Name (ARN) for the geofence collection resource.
1895
- # Used when you need to specify a resource across all AWS.
2131
+ # Used when you need to specify a resource across all Amazon Web
2132
+ # Services.
1896
2133
  #
1897
2134
  # * Format example:
1898
2135
  # `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection`
@@ -1918,8 +2155,8 @@ module Aws::LocationService
1918
2155
  # @return [String]
1919
2156
  #
1920
2157
  # @!attribute [rw] kms_key_id
1921
- # A key identifier for an [AWS KMS customer managed key][1] assigned
1922
- # to the Amazon Location resource
2158
+ # A key identifier for an [Amazon Web Services KMS customer managed
2159
+ # key][1] assigned to the Amazon Location resource
1923
2160
  #
1924
2161
  #
1925
2162
  #
@@ -1963,6 +2200,91 @@ module Aws::LocationService
1963
2200
  include Aws::Structure
1964
2201
  end
1965
2202
 
2203
+ # @!attribute [rw] key_name
2204
+ # The name of the API key resource.
2205
+ # @return [String]
2206
+ #
2207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeKeyRequest AWS API Documentation
2208
+ #
2209
+ class DescribeKeyRequest < Struct.new(
2210
+ :key_name)
2211
+ SENSITIVE = []
2212
+ include Aws::Structure
2213
+ end
2214
+
2215
+ # @!attribute [rw] create_time
2216
+ # The timestamp for when the API key resource was created in [ ISO
2217
+ # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
2218
+ #
2219
+ #
2220
+ #
2221
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2222
+ # @return [Time]
2223
+ #
2224
+ # @!attribute [rw] description
2225
+ # The optional description for the API key resource.
2226
+ # @return [String]
2227
+ #
2228
+ # @!attribute [rw] expire_time
2229
+ # The timestamp for when the API key resource will expire in [ ISO
2230
+ # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
2231
+ #
2232
+ #
2233
+ #
2234
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2235
+ # @return [Time]
2236
+ #
2237
+ # @!attribute [rw] key
2238
+ # The key value/string of an API key.
2239
+ # @return [String]
2240
+ #
2241
+ # @!attribute [rw] key_arn
2242
+ # The Amazon Resource Name (ARN) for the API key resource. Used when
2243
+ # you need to specify a resource across all Amazon Web Services.
2244
+ #
2245
+ # * Format example: `arn:aws:geo:region:account-id:key/ExampleKey`
2246
+ #
2247
+ # ^
2248
+ # @return [String]
2249
+ #
2250
+ # @!attribute [rw] key_name
2251
+ # The name of the API key resource.
2252
+ # @return [String]
2253
+ #
2254
+ # @!attribute [rw] restrictions
2255
+ # API Restrictions on the allowed actions, resources, and referers for
2256
+ # an API key resource.
2257
+ # @return [Types::ApiKeyRestrictions]
2258
+ #
2259
+ # @!attribute [rw] tags
2260
+ # Tags associated with the API key resource.
2261
+ # @return [Hash<String,String>]
2262
+ #
2263
+ # @!attribute [rw] update_time
2264
+ # The timestamp for when the API key resource was last updated in [
2265
+ # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
2266
+ #
2267
+ #
2268
+ #
2269
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2270
+ # @return [Time]
2271
+ #
2272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeKeyResponse AWS API Documentation
2273
+ #
2274
+ class DescribeKeyResponse < Struct.new(
2275
+ :create_time,
2276
+ :description,
2277
+ :expire_time,
2278
+ :key,
2279
+ :key_arn,
2280
+ :key_name,
2281
+ :restrictions,
2282
+ :tags,
2283
+ :update_time)
2284
+ SENSITIVE = [:key]
2285
+ include Aws::Structure
2286
+ end
2287
+
1966
2288
  # @!attribute [rw] map_name
1967
2289
  # The name of the map resource.
1968
2290
  # @return [String]
@@ -1998,7 +2320,7 @@ module Aws::LocationService
1998
2320
  #
1999
2321
  # @!attribute [rw] map_arn
2000
2322
  # The Amazon Resource Name (ARN) for the map resource. Used to specify
2001
- # a resource across all AWS.
2323
+ # a resource across all Amazon Web Services.
2002
2324
  #
2003
2325
  # * Format example: `arn:aws:geo:region:account-id:map/ExampleMap`
2004
2326
  #
@@ -2091,7 +2413,7 @@ module Aws::LocationService
2091
2413
  #
2092
2414
  # @!attribute [rw] index_arn
2093
2415
  # The Amazon Resource Name (ARN) for the place index resource. Used to
2094
- # specify a resource across AWS.
2416
+ # specify a resource across Amazon Web Services.
2095
2417
  #
2096
2418
  # * Format example:
2097
2419
  # `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex`
@@ -2150,7 +2472,7 @@ module Aws::LocationService
2150
2472
 
2151
2473
  # @!attribute [rw] calculator_arn
2152
2474
  # The Amazon Resource Name (ARN) for the Route calculator resource.
2153
- # Use the ARN when you specify a resource across AWS.
2475
+ # Use the ARN when you specify a resource across Amazon Web Services.
2154
2476
  #
2155
2477
  # * Format example:
2156
2478
  # `arn:aws:geo:region:account-id:route-calculator/ExampleCalculator`
@@ -2259,8 +2581,8 @@ module Aws::LocationService
2259
2581
  # @return [String]
2260
2582
  #
2261
2583
  # @!attribute [rw] kms_key_id
2262
- # A key identifier for an [AWS KMS customer managed key][1] assigned
2263
- # to the Amazon Location resource.
2584
+ # A key identifier for an [Amazon Web Services KMS customer managed
2585
+ # key][1] assigned to the Amazon Location resource.
2264
2586
  #
2265
2587
  #
2266
2588
  #
@@ -2285,7 +2607,7 @@ module Aws::LocationService
2285
2607
  #
2286
2608
  # @!attribute [rw] tracker_arn
2287
2609
  # The Amazon Resource Name (ARN) for the tracker resource. Used when
2288
- # you need to specify a resource across all AWS.
2610
+ # you need to specify a resource across all Amazon Web Services.
2289
2611
  #
2290
2612
  # * Format example:
2291
2613
  # `arn:aws:geo:region:account-id:tracker/ExampleTracker`
@@ -2423,7 +2745,7 @@ module Aws::LocationService
2423
2745
  # @!attribute [rw] consumer_arn
2424
2746
  # The Amazon Resource Name (ARN) for the geofence collection to be
2425
2747
  # disassociated from the tracker resource. Used when you need to
2426
- # specify a resource across all AWS.
2748
+ # specify a resource across all Amazon Web Services.
2427
2749
  #
2428
2750
  # * Format example:
2429
2751
  # `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer`
@@ -2761,18 +3083,20 @@ module Aws::LocationService
2761
3083
  #
2762
3084
  # ^
2763
3085
  #
2764
- # Valid font stacks for [Open Data (Preview)][4] styles:
3086
+ # Valid font stacks for [Open Data][4] styles:
2765
3087
  #
2766
- # * VectorOpenDataStandardLight – `Amazon Ember Regular,Noto Sans
2767
- # Regular` \| `Amazon Ember Bold,Noto Sans Bold` \| `Amazon Ember
2768
- # Medium,Noto Sans Medium` \| `Amazon Ember Regular Italic,Noto Sans
2769
- # Italic` \| `Amazon Ember Condensed RC Regular,Noto Sans Regular`
2770
- # \| `Amazon Ember Condensed RC Bold,Noto Sans Bold`
3088
+ # * VectorOpenDataStandardLight, VectorOpenDataStandardDark,
3089
+ # VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark
3090
+ # – `Amazon Ember Regular,Noto Sans Regular` \| `Amazon Ember
3091
+ # Bold,Noto Sans Bold` \| `Amazon Ember Medium,Noto Sans Medium` \|
3092
+ # `Amazon Ember Regular Italic,Noto Sans Italic` \| `Amazon Ember
3093
+ # Condensed RC Regular,Noto Sans Regular` \| `Amazon Ember Condensed
3094
+ # RC Bold,Noto Sans Bold`
2771
3095
  #
2772
3096
  # ^
2773
3097
  #
2774
- # <note markdown="1"> The fonts used by `VectorOpenDataStandardLight` are combined fonts
2775
- # that use `Amazon Ember` for most glyphs but `Noto Sans` for glyphs
3098
+ # <note markdown="1"> The fonts used by the Open Data map styles are combined fonts that
3099
+ # use `Amazon Ember` for most glyphs but `Noto Sans` for glyphs
2776
3100
  # unsupported by `Amazon Ember`.
2777
3101
  #
2778
3102
  # </note>
@@ -2792,6 +3116,14 @@ module Aws::LocationService
2792
3116
  # multiples of 256.
2793
3117
  # @return [String]
2794
3118
  #
3119
+ # @!attribute [rw] key
3120
+ # The optional [API key][1] to authorize the request.
3121
+ #
3122
+ #
3123
+ #
3124
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3125
+ # @return [String]
3126
+ #
2795
3127
  # @!attribute [rw] map_name
2796
3128
  # The map resource associated with the glyph file.
2797
3129
  # @return [String]
@@ -2801,13 +3133,18 @@ module Aws::LocationService
2801
3133
  class GetMapGlyphsRequest < Struct.new(
2802
3134
  :font_stack,
2803
3135
  :font_unicode_range,
3136
+ :key,
2804
3137
  :map_name)
2805
- SENSITIVE = []
3138
+ SENSITIVE = [:key]
2806
3139
  include Aws::Structure
2807
3140
  end
2808
3141
 
2809
3142
  # @!attribute [rw] blob
2810
- # The blob's content type.
3143
+ # The glyph, as binary blob.
3144
+ # @return [String]
3145
+ #
3146
+ # @!attribute [rw] cache_control
3147
+ # The HTTP Cache-Control directive for the value.
2811
3148
  # @return [String]
2812
3149
  #
2813
3150
  # @!attribute [rw] content_type
@@ -2818,6 +3155,7 @@ module Aws::LocationService
2818
3155
  #
2819
3156
  class GetMapGlyphsResponse < Struct.new(
2820
3157
  :blob,
3158
+ :cache_control,
2821
3159
  :content_type)
2822
3160
  SENSITIVE = []
2823
3161
  include Aws::Structure
@@ -2839,6 +3177,14 @@ module Aws::LocationService
2839
3177
  # * `sprites@2x.json` for high pixel density displays
2840
3178
  # @return [String]
2841
3179
  #
3180
+ # @!attribute [rw] key
3181
+ # The optional [API key][1] to authorize the request.
3182
+ #
3183
+ #
3184
+ #
3185
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3186
+ # @return [String]
3187
+ #
2842
3188
  # @!attribute [rw] map_name
2843
3189
  # The map resource associated with the sprite file.
2844
3190
  # @return [String]
@@ -2847,8 +3193,9 @@ module Aws::LocationService
2847
3193
  #
2848
3194
  class GetMapSpritesRequest < Struct.new(
2849
3195
  :file_name,
3196
+ :key,
2850
3197
  :map_name)
2851
- SENSITIVE = []
3198
+ SENSITIVE = [:key]
2852
3199
  include Aws::Structure
2853
3200
  end
2854
3201
 
@@ -2856,6 +3203,10 @@ module Aws::LocationService
2856
3203
  # Contains the body of the sprite sheet or JSON offset file.
2857
3204
  # @return [String]
2858
3205
  #
3206
+ # @!attribute [rw] cache_control
3207
+ # The HTTP Cache-Control directive for the value.
3208
+ # @return [String]
3209
+ #
2859
3210
  # @!attribute [rw] content_type
2860
3211
  # The content type of the sprite sheet and offsets. For example, the
2861
3212
  # sprite sheet content type is `image/png`, and the sprite offset JSON
@@ -2866,11 +3217,20 @@ module Aws::LocationService
2866
3217
  #
2867
3218
  class GetMapSpritesResponse < Struct.new(
2868
3219
  :blob,
3220
+ :cache_control,
2869
3221
  :content_type)
2870
3222
  SENSITIVE = []
2871
3223
  include Aws::Structure
2872
3224
  end
2873
3225
 
3226
+ # @!attribute [rw] key
3227
+ # The optional [API key][1] to authorize the request.
3228
+ #
3229
+ #
3230
+ #
3231
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3232
+ # @return [String]
3233
+ #
2874
3234
  # @!attribute [rw] map_name
2875
3235
  # The map resource to retrieve the style descriptor from.
2876
3236
  # @return [String]
@@ -2878,8 +3238,9 @@ module Aws::LocationService
2878
3238
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapStyleDescriptorRequest AWS API Documentation
2879
3239
  #
2880
3240
  class GetMapStyleDescriptorRequest < Struct.new(
3241
+ :key,
2881
3242
  :map_name)
2882
- SENSITIVE = []
3243
+ SENSITIVE = [:key]
2883
3244
  include Aws::Structure
2884
3245
  end
2885
3246
 
@@ -2887,6 +3248,10 @@ module Aws::LocationService
2887
3248
  # Contains the body of the style descriptor.
2888
3249
  # @return [String]
2889
3250
  #
3251
+ # @!attribute [rw] cache_control
3252
+ # The HTTP Cache-Control directive for the value.
3253
+ # @return [String]
3254
+ #
2890
3255
  # @!attribute [rw] content_type
2891
3256
  # The style descriptor's content type. For example,
2892
3257
  # `application/json`.
@@ -2896,11 +3261,20 @@ module Aws::LocationService
2896
3261
  #
2897
3262
  class GetMapStyleDescriptorResponse < Struct.new(
2898
3263
  :blob,
3264
+ :cache_control,
2899
3265
  :content_type)
2900
3266
  SENSITIVE = []
2901
3267
  include Aws::Structure
2902
3268
  end
2903
3269
 
3270
+ # @!attribute [rw] key
3271
+ # The optional [API key][1] to authorize the request.
3272
+ #
3273
+ #
3274
+ #
3275
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3276
+ # @return [String]
3277
+ #
2904
3278
  # @!attribute [rw] map_name
2905
3279
  # The map resource to retrieve the map tiles from.
2906
3280
  # @return [String]
@@ -2920,11 +3294,12 @@ module Aws::LocationService
2920
3294
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapTileRequest AWS API Documentation
2921
3295
  #
2922
3296
  class GetMapTileRequest < Struct.new(
3297
+ :key,
2923
3298
  :map_name,
2924
3299
  :x,
2925
3300
  :y,
2926
3301
  :z)
2927
- SENSITIVE = []
3302
+ SENSITIVE = [:key]
2928
3303
  include Aws::Structure
2929
3304
  end
2930
3305
 
@@ -2932,6 +3307,10 @@ module Aws::LocationService
2932
3307
  # Contains Mapbox Vector Tile (MVT) data.
2933
3308
  # @return [String]
2934
3309
  #
3310
+ # @!attribute [rw] cache_control
3311
+ # The HTTP Cache-Control directive for the value.
3312
+ # @return [String]
3313
+ #
2935
3314
  # @!attribute [rw] content_type
2936
3315
  # The map tile's content type. For example,
2937
3316
  # `application/vnd.mapbox-vector-tile`.
@@ -2941,6 +3320,7 @@ module Aws::LocationService
2941
3320
  #
2942
3321
  class GetMapTileResponse < Struct.new(
2943
3322
  :blob,
3323
+ :cache_control,
2944
3324
  :content_type)
2945
3325
  SENSITIVE = []
2946
3326
  include Aws::Structure
@@ -3248,7 +3628,8 @@ module Aws::LocationService
3248
3628
  end
3249
3629
 
3250
3630
  # @!attribute [rw] entries
3251
- # Lists the geofence collections that exist in your AWS account.
3631
+ # Lists the geofence collections that exist in your Amazon Web
3632
+ # Services account.
3252
3633
  # @return [Array<Types::ListGeofenceCollectionsResponseEntry>]
3253
3634
  #
3254
3635
  # @!attribute [rw] next_token
@@ -3419,6 +3800,111 @@ module Aws::LocationService
3419
3800
  include Aws::Structure
3420
3801
  end
3421
3802
 
3803
+ # @!attribute [rw] filter
3804
+ # Optionally filter the list to only `Active` or `Expired` API keys.
3805
+ # @return [Types::ApiKeyFilter]
3806
+ #
3807
+ # @!attribute [rw] max_results
3808
+ # An optional limit for the number of resources returned in a single
3809
+ # call.
3810
+ #
3811
+ # Default value: `100`
3812
+ # @return [Integer]
3813
+ #
3814
+ # @!attribute [rw] next_token
3815
+ # The pagination token specifying which page of results to return in
3816
+ # the response. If no token is provided, the default page is the first
3817
+ # page.
3818
+ #
3819
+ # Default value: `null`
3820
+ # @return [String]
3821
+ #
3822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListKeysRequest AWS API Documentation
3823
+ #
3824
+ class ListKeysRequest < Struct.new(
3825
+ :filter,
3826
+ :max_results,
3827
+ :next_token)
3828
+ SENSITIVE = []
3829
+ include Aws::Structure
3830
+ end
3831
+
3832
+ # @!attribute [rw] entries
3833
+ # Contains API key resources in your Amazon Web Services account.
3834
+ # Details include API key name, allowed referers and timestamp for
3835
+ # when the API key will expire.
3836
+ # @return [Array<Types::ListKeysResponseEntry>]
3837
+ #
3838
+ # @!attribute [rw] next_token
3839
+ # A pagination token indicating there are additional pages available.
3840
+ # You can use the token in a following request to fetch the next set
3841
+ # of results.
3842
+ # @return [String]
3843
+ #
3844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListKeysResponse AWS API Documentation
3845
+ #
3846
+ class ListKeysResponse < Struct.new(
3847
+ :entries,
3848
+ :next_token)
3849
+ SENSITIVE = []
3850
+ include Aws::Structure
3851
+ end
3852
+
3853
+ # An API key resource listed in your Amazon Web Services account.
3854
+ #
3855
+ # @!attribute [rw] create_time
3856
+ # The timestamp of when the API key was created, in [ ISO 8601][1]
3857
+ # format: `YYYY-MM-DDThh:mm:ss.sssZ`.
3858
+ #
3859
+ #
3860
+ #
3861
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
3862
+ # @return [Time]
3863
+ #
3864
+ # @!attribute [rw] description
3865
+ # The optional description for the API key resource.
3866
+ # @return [String]
3867
+ #
3868
+ # @!attribute [rw] expire_time
3869
+ # The timestamp for when the API key resource will expire, in [ ISO
3870
+ # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
3871
+ #
3872
+ #
3873
+ #
3874
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
3875
+ # @return [Time]
3876
+ #
3877
+ # @!attribute [rw] key_name
3878
+ # The name of the API key resource.
3879
+ # @return [String]
3880
+ #
3881
+ # @!attribute [rw] restrictions
3882
+ # API Restrictions on the allowed actions, resources, and referers for
3883
+ # an API key resource.
3884
+ # @return [Types::ApiKeyRestrictions]
3885
+ #
3886
+ # @!attribute [rw] update_time
3887
+ # The timestamp of when the API key was last updated, in [ ISO
3888
+ # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
3889
+ #
3890
+ #
3891
+ #
3892
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
3893
+ # @return [Time]
3894
+ #
3895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListKeysResponseEntry AWS API Documentation
3896
+ #
3897
+ class ListKeysResponseEntry < Struct.new(
3898
+ :create_time,
3899
+ :description,
3900
+ :expire_time,
3901
+ :key_name,
3902
+ :restrictions,
3903
+ :update_time)
3904
+ SENSITIVE = []
3905
+ include Aws::Structure
3906
+ end
3907
+
3422
3908
  # @!attribute [rw] max_results
3423
3909
  # An optional limit for the number of resources returned in a single
3424
3910
  # call.
@@ -3444,7 +3930,7 @@ module Aws::LocationService
3444
3930
  end
3445
3931
 
3446
3932
  # @!attribute [rw] entries
3447
- # Contains a list of maps in your AWS account
3933
+ # Contains a list of maps in your Amazon Web Services account
3448
3934
  # @return [Array<Types::ListMapsResponseEntry>]
3449
3935
  #
3450
3936
  # @!attribute [rw] next_token
@@ -3462,7 +3948,8 @@ module Aws::LocationService
3462
3948
  include Aws::Structure
3463
3949
  end
3464
3950
 
3465
- # Contains details of an existing map resource in your AWS account.
3951
+ # Contains details of an existing map resource in your Amazon Web
3952
+ # Services account.
3466
3953
  #
3467
3954
  # @!attribute [rw] create_time
3468
3955
  # The timestamp for when the map resource was created in [ISO 8601][1]
@@ -3536,7 +4023,8 @@ module Aws::LocationService
3536
4023
  end
3537
4024
 
3538
4025
  # @!attribute [rw] entries
3539
- # Lists the place index resources that exist in your AWS account
4026
+ # Lists the place index resources that exist in your Amazon Web
4027
+ # Services account
3540
4028
  # @return [Array<Types::ListPlaceIndexesResponseEntry>]
3541
4029
  #
3542
4030
  # @!attribute [rw] next_token
@@ -3554,7 +4042,7 @@ module Aws::LocationService
3554
4042
  include Aws::Structure
3555
4043
  end
3556
4044
 
3557
- # A place index resource listed in your AWS account.
4045
+ # A place index resource listed in your Amazon Web Services account.
3558
4046
  #
3559
4047
  # @!attribute [rw] create_time
3560
4048
  # The timestamp for when the place index resource was created in [ISO
@@ -3641,7 +4129,8 @@ module Aws::LocationService
3641
4129
  end
3642
4130
 
3643
4131
  # @!attribute [rw] entries
3644
- # Lists the route calculator resources that exist in your AWS account
4132
+ # Lists the route calculator resources that exist in your Amazon Web
4133
+ # Services account
3645
4134
  # @return [Array<Types::ListRouteCalculatorsResponseEntry>]
3646
4135
  #
3647
4136
  # @!attribute [rw] next_token
@@ -3659,7 +4148,8 @@ module Aws::LocationService
3659
4148
  include Aws::Structure
3660
4149
  end
3661
4150
 
3662
- # A route calculator resource listed in your AWS account.
4151
+ # A route calculator resource listed in your Amazon Web Services
4152
+ # account.
3663
4153
  #
3664
4154
  # @!attribute [rw] calculator_name
3665
4155
  # The name of the route calculator resource.
@@ -3840,9 +4330,9 @@ module Aws::LocationService
3840
4330
  end
3841
4331
 
3842
4332
  # @!attribute [rw] entries
3843
- # Contains tracker resources in your AWS account. Details include
3844
- # tracker name, description and timestamps for when the tracker was
3845
- # created and last updated.
4333
+ # Contains tracker resources in your Amazon Web Services account.
4334
+ # Details include tracker name, description and timestamps for when
4335
+ # the tracker was created and last updated.
3846
4336
  # @return [Array<Types::ListTrackersResponseEntry>]
3847
4337
  #
3848
4338
  # @!attribute [rw] next_token
@@ -3997,18 +4487,28 @@ module Aws::LocationService
3997
4487
  #
3998
4488
  # </note>
3999
4489
  #
4000
- # Valid [Open Data (Preview) map styles][5]\:
4490
+ # Valid [Open Data map styles][5]\:
4491
+ #
4492
+ # * `VectorOpenDataStandardLight` – The Open Data Standard Light map
4493
+ # style provides a detailed basemap for the world suitable for
4494
+ # website and mobile application use. The map includes highways
4495
+ # major roads, minor roads, railways, water features, cities, parks,
4496
+ # landmarks, building footprints, and administrative boundaries.
4497
+ #
4498
+ # * `VectorOpenDataStandardDark` – Open Data Standard Dark is a
4499
+ # dark-themed map style that provides a detailed basemap for the
4500
+ # world suitable for website and mobile application use. The map
4501
+ # includes highways major roads, minor roads, railways, water
4502
+ # features, cities, parks, landmarks, building footprints, and
4503
+ # administrative boundaries.
4001
4504
  #
4002
- # * `VectorOpenDataStandardLight` – The Open Data Standard Light
4003
- # (preview) map style provides a detailed basemap for the world
4004
- # suitable for website and mobile application use. The map includes
4005
- # highways major roads, minor roads, railways, water features,
4006
- # cities, parks, landmarks, building footprints, and administrative
4007
- # boundaries.
4505
+ # * `VectorOpenDataVisualizationLight` – The Open Data Visualization
4506
+ # Light map style is a light-themed style with muted colors and
4507
+ # fewer features that aids in understanding overlaid data.
4008
4508
  #
4009
- # Open Data maps is in preview. We may add, change, or remove
4010
- # features before announcing general availability. For more
4011
- # information, see [Open Data is in preview release][6].
4509
+ # * `VectorOpenDataVisualizationDark` The Open Data Visualization
4510
+ # Dark map style is a dark-themed style with muted colors and fewer
4511
+ # features that aids in understanding overlaid data.
4012
4512
  #
4013
4513
  #
4014
4514
  #
@@ -4017,7 +4517,6 @@ module Aws::LocationService
4017
4517
  # [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
4018
4518
  # [4]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area
4019
4519
  # [5]: https://docs.aws.amazon.com/location/latest/developerguide/open-data.html
4020
- # [6]: https://docs.aws.amazon.com/location/latest/developerguide/open-data.html#open-data-preview
4021
4520
  # @return [String]
4022
4521
  #
4023
4522
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/MapConfiguration AWS API Documentation
@@ -5294,7 +5793,7 @@ module Aws::LocationService
5294
5793
 
5295
5794
  # @!attribute [rw] collection_arn
5296
5795
  # The Amazon Resource Name (ARN) of the updated geofence collection.
5297
- # Used to specify a resource across AWS.
5796
+ # Used to specify a resource across Amazon Web Services.
5298
5797
  #
5299
5798
  # * Format example:
5300
5799
  # `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection`
@@ -5325,6 +5824,89 @@ module Aws::LocationService
5325
5824
  include Aws::Structure
5326
5825
  end
5327
5826
 
5827
+ # @!attribute [rw] description
5828
+ # Updates the description for the API key resource.
5829
+ # @return [String]
5830
+ #
5831
+ # @!attribute [rw] expire_time
5832
+ # Updates the timestamp for when the API key resource will expire in [
5833
+ # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
5834
+ #
5835
+ #
5836
+ #
5837
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
5838
+ # @return [Time]
5839
+ #
5840
+ # @!attribute [rw] force_update
5841
+ # The boolean flag to be included for updating `ExpireTime` or
5842
+ # `Restrictions` details.
5843
+ #
5844
+ # Must be set to `true` to update an API key resource that has been
5845
+ # used in the past 7 days.
5846
+ #
5847
+ # `False` if force update is not preferred
5848
+ #
5849
+ # Default value: `False`
5850
+ # @return [Boolean]
5851
+ #
5852
+ # @!attribute [rw] key_name
5853
+ # The name of the API key resource to update.
5854
+ # @return [String]
5855
+ #
5856
+ # @!attribute [rw] no_expiry
5857
+ # Whether the API key should expire. Set to `true` to set the API key
5858
+ # to have no expiration time.
5859
+ # @return [Boolean]
5860
+ #
5861
+ # @!attribute [rw] restrictions
5862
+ # Updates the API key restrictions for the API key resource.
5863
+ # @return [Types::ApiKeyRestrictions]
5864
+ #
5865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateKeyRequest AWS API Documentation
5866
+ #
5867
+ class UpdateKeyRequest < Struct.new(
5868
+ :description,
5869
+ :expire_time,
5870
+ :force_update,
5871
+ :key_name,
5872
+ :no_expiry,
5873
+ :restrictions)
5874
+ SENSITIVE = []
5875
+ include Aws::Structure
5876
+ end
5877
+
5878
+ # @!attribute [rw] key_arn
5879
+ # The Amazon Resource Name (ARN) for the API key resource. Used when
5880
+ # you need to specify a resource across all Amazon Web Services.
5881
+ #
5882
+ # * Format example: `arn:aws:geo:region:account-id:key/ExampleKey`
5883
+ #
5884
+ # ^
5885
+ # @return [String]
5886
+ #
5887
+ # @!attribute [rw] key_name
5888
+ # The name of the API key resource.
5889
+ # @return [String]
5890
+ #
5891
+ # @!attribute [rw] update_time
5892
+ # The timestamp for when the API key resource was last updated in [
5893
+ # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
5894
+ #
5895
+ #
5896
+ #
5897
+ # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
5898
+ # @return [Time]
5899
+ #
5900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateKeyResponse AWS API Documentation
5901
+ #
5902
+ class UpdateKeyResponse < Struct.new(
5903
+ :key_arn,
5904
+ :key_name,
5905
+ :update_time)
5906
+ SENSITIVE = []
5907
+ include Aws::Structure
5908
+ end
5909
+
5328
5910
  # @!attribute [rw] description
5329
5911
  # Updates the description for the map resource.
5330
5912
  # @return [String]
@@ -5410,7 +5992,7 @@ module Aws::LocationService
5410
5992
 
5411
5993
  # @!attribute [rw] index_arn
5412
5994
  # The Amazon Resource Name (ARN) of the upated place index resource.
5413
- # Used to specify a resource across AWS.
5995
+ # Used to specify a resource across Amazon Web Services.
5414
5996
  #
5415
5997
  # * Format example: `arn:aws:geo:region:account-id:place-
5416
5998
  # index/ExamplePlaceIndex`