aws-sdk-locationservice 1.27.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,13 @@ module Aws::LocationService
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ ApiKey = Shapes::StringShape.new(name: 'ApiKey')
18
+ ApiKeyAction = Shapes::StringShape.new(name: 'ApiKeyAction')
19
+ ApiKeyFilter = Shapes::StructureShape.new(name: 'ApiKeyFilter')
20
+ ApiKeyRestrictions = Shapes::StructureShape.new(name: 'ApiKeyRestrictions')
21
+ ApiKeyRestrictionsAllowActionsList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowActionsList')
22
+ ApiKeyRestrictionsAllowReferersList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowReferersList')
23
+ ApiKeyRestrictionsAllowResourcesList = Shapes::ListShape.new(name: 'ApiKeyRestrictionsAllowResourcesList')
17
24
  Arn = Shapes::StringShape.new(name: 'Arn')
18
25
  ArnList = Shapes::ListShape.new(name: 'ArnList')
19
26
  AssociateTrackerConsumerRequest = Shapes::StructureShape.new(name: 'AssociateTrackerConsumerRequest')
@@ -80,6 +87,8 @@ module Aws::LocationService
80
87
  CountryCodeList = Shapes::ListShape.new(name: 'CountryCodeList')
81
88
  CreateGeofenceCollectionRequest = Shapes::StructureShape.new(name: 'CreateGeofenceCollectionRequest')
82
89
  CreateGeofenceCollectionResponse = Shapes::StructureShape.new(name: 'CreateGeofenceCollectionResponse')
90
+ CreateKeyRequest = Shapes::StructureShape.new(name: 'CreateKeyRequest')
91
+ CreateKeyResponse = Shapes::StructureShape.new(name: 'CreateKeyResponse')
83
92
  CreateMapRequest = Shapes::StructureShape.new(name: 'CreateMapRequest')
84
93
  CreateMapResponse = Shapes::StructureShape.new(name: 'CreateMapResponse')
85
94
  CreatePlaceIndexRequest = Shapes::StructureShape.new(name: 'CreatePlaceIndexRequest')
@@ -91,6 +100,8 @@ module Aws::LocationService
91
100
  DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
92
101
  DeleteGeofenceCollectionRequest = Shapes::StructureShape.new(name: 'DeleteGeofenceCollectionRequest')
93
102
  DeleteGeofenceCollectionResponse = Shapes::StructureShape.new(name: 'DeleteGeofenceCollectionResponse')
103
+ DeleteKeyRequest = Shapes::StructureShape.new(name: 'DeleteKeyRequest')
104
+ DeleteKeyResponse = Shapes::StructureShape.new(name: 'DeleteKeyResponse')
94
105
  DeleteMapRequest = Shapes::StructureShape.new(name: 'DeleteMapRequest')
95
106
  DeleteMapResponse = Shapes::StructureShape.new(name: 'DeleteMapResponse')
96
107
  DeletePlaceIndexRequest = Shapes::StructureShape.new(name: 'DeletePlaceIndexRequest')
@@ -101,6 +112,8 @@ module Aws::LocationService
101
112
  DeleteTrackerResponse = Shapes::StructureShape.new(name: 'DeleteTrackerResponse')
102
113
  DescribeGeofenceCollectionRequest = Shapes::StructureShape.new(name: 'DescribeGeofenceCollectionRequest')
103
114
  DescribeGeofenceCollectionResponse = Shapes::StructureShape.new(name: 'DescribeGeofenceCollectionResponse')
115
+ DescribeKeyRequest = Shapes::StructureShape.new(name: 'DescribeKeyRequest')
116
+ DescribeKeyResponse = Shapes::StructureShape.new(name: 'DescribeKeyResponse')
104
117
  DescribeMapRequest = Shapes::StructureShape.new(name: 'DescribeMapRequest')
105
118
  DescribeMapResponse = Shapes::StructureShape.new(name: 'DescribeMapResponse')
106
119
  DescribePlaceIndexRequest = Shapes::StructureShape.new(name: 'DescribePlaceIndexRequest')
@@ -170,6 +183,11 @@ module Aws::LocationService
170
183
  ListGeofencesRequest = Shapes::StructureShape.new(name: 'ListGeofencesRequest')
171
184
  ListGeofencesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListGeofencesRequestMaxResultsInteger')
172
185
  ListGeofencesResponse = Shapes::StructureShape.new(name: 'ListGeofencesResponse')
186
+ ListKeysRequest = Shapes::StructureShape.new(name: 'ListKeysRequest')
187
+ ListKeysRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListKeysRequestMaxResultsInteger')
188
+ ListKeysResponse = Shapes::StructureShape.new(name: 'ListKeysResponse')
189
+ ListKeysResponseEntry = Shapes::StructureShape.new(name: 'ListKeysResponseEntry')
190
+ ListKeysResponseEntryList = Shapes::ListShape.new(name: 'ListKeysResponseEntryList')
173
191
  ListMapsRequest = Shapes::StructureShape.new(name: 'ListMapsRequest')
174
192
  ListMapsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListMapsRequestMaxResultsInteger')
175
193
  ListMapsResponse = Shapes::StructureShape.new(name: 'ListMapsResponse')
@@ -211,6 +229,7 @@ module Aws::LocationService
211
229
  PropertyMapValueString = Shapes::StringShape.new(name: 'PropertyMapValueString')
212
230
  PutGeofenceRequest = Shapes::StructureShape.new(name: 'PutGeofenceRequest')
213
231
  PutGeofenceResponse = Shapes::StructureShape.new(name: 'PutGeofenceResponse')
232
+ RefererPattern = Shapes::StringShape.new(name: 'RefererPattern')
214
233
  ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
215
234
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
216
235
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -244,6 +263,7 @@ module Aws::LocationService
244
263
  SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
245
264
  SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
246
265
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
266
+ Status = Shapes::StringShape.new(name: 'Status')
247
267
  Step = Shapes::StructureShape.new(name: 'Step')
248
268
  StepDistanceDouble = Shapes::FloatShape.new(name: 'StepDistanceDouble')
249
269
  StepDurationSecondsDouble = Shapes::FloatShape.new(name: 'StepDurationSecondsDouble')
@@ -271,6 +291,8 @@ module Aws::LocationService
271
291
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
272
292
  UpdateGeofenceCollectionRequest = Shapes::StructureShape.new(name: 'UpdateGeofenceCollectionRequest')
273
293
  UpdateGeofenceCollectionResponse = Shapes::StructureShape.new(name: 'UpdateGeofenceCollectionResponse')
294
+ UpdateKeyRequest = Shapes::StructureShape.new(name: 'UpdateKeyRequest')
295
+ UpdateKeyResponse = Shapes::StructureShape.new(name: 'UpdateKeyResponse')
274
296
  UpdateMapRequest = Shapes::StructureShape.new(name: 'UpdateMapRequest')
275
297
  UpdateMapResponse = Shapes::StructureShape.new(name: 'UpdateMapResponse')
276
298
  UpdatePlaceIndexRequest = Shapes::StructureShape.new(name: 'UpdatePlaceIndexRequest')
@@ -288,6 +310,20 @@ module Aws::LocationService
288
310
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
289
311
  AccessDeniedException.struct_class = Types::AccessDeniedException
290
312
 
313
+ ApiKeyFilter.add_member(:key_status, Shapes::ShapeRef.new(shape: Status, location_name: "KeyStatus"))
314
+ ApiKeyFilter.struct_class = Types::ApiKeyFilter
315
+
316
+ ApiKeyRestrictions.add_member(:allow_actions, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowActionsList, required: true, location_name: "AllowActions"))
317
+ ApiKeyRestrictions.add_member(:allow_referers, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowReferersList, location_name: "AllowReferers"))
318
+ ApiKeyRestrictions.add_member(:allow_resources, Shapes::ShapeRef.new(shape: ApiKeyRestrictionsAllowResourcesList, required: true, location_name: "AllowResources"))
319
+ ApiKeyRestrictions.struct_class = Types::ApiKeyRestrictions
320
+
321
+ ApiKeyRestrictionsAllowActionsList.member = Shapes::ShapeRef.new(shape: ApiKeyAction)
322
+
323
+ ApiKeyRestrictionsAllowReferersList.member = Shapes::ShapeRef.new(shape: RefererPattern)
324
+
325
+ ApiKeyRestrictionsAllowResourcesList.member = Shapes::ShapeRef.new(shape: GeoArn)
326
+
291
327
  ArnList.member = Shapes::ShapeRef.new(shape: Arn)
292
328
 
293
329
  AssociateTrackerConsumerRequest.add_member(:consumer_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ConsumerArn"))
@@ -496,6 +532,20 @@ module Aws::LocationService
496
532
  CreateGeofenceCollectionResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
497
533
  CreateGeofenceCollectionResponse.struct_class = Types::CreateGeofenceCollectionResponse
498
534
 
535
+ CreateKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
536
+ CreateKeyRequest.add_member(:expire_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpireTime"))
537
+ CreateKeyRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "KeyName"))
538
+ CreateKeyRequest.add_member(:no_expiry, Shapes::ShapeRef.new(shape: Boolean, location_name: "NoExpiry"))
539
+ CreateKeyRequest.add_member(:restrictions, Shapes::ShapeRef.new(shape: ApiKeyRestrictions, required: true, location_name: "Restrictions"))
540
+ CreateKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
541
+ CreateKeyRequest.struct_class = Types::CreateKeyRequest
542
+
543
+ CreateKeyResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
544
+ CreateKeyResponse.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, required: true, location_name: "Key"))
545
+ CreateKeyResponse.add_member(:key_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "KeyArn"))
546
+ CreateKeyResponse.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "KeyName"))
547
+ CreateKeyResponse.struct_class = Types::CreateKeyResponse
548
+
499
549
  CreateMapRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: MapConfiguration, required: true, location_name: "Configuration"))
500
550
  CreateMapRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
501
551
  CreateMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
@@ -555,6 +605,11 @@ module Aws::LocationService
555
605
 
556
606
  DeleteGeofenceCollectionResponse.struct_class = Types::DeleteGeofenceCollectionResponse
557
607
 
608
+ DeleteKeyRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "KeyName"))
609
+ DeleteKeyRequest.struct_class = Types::DeleteKeyRequest
610
+
611
+ DeleteKeyResponse.struct_class = Types::DeleteKeyResponse
612
+
558
613
  DeleteMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
559
614
  DeleteMapRequest.struct_class = Types::DeleteMapRequest
560
615
 
@@ -589,6 +644,20 @@ module Aws::LocationService
589
644
  DescribeGeofenceCollectionResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
590
645
  DescribeGeofenceCollectionResponse.struct_class = Types::DescribeGeofenceCollectionResponse
591
646
 
647
+ DescribeKeyRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "KeyName"))
648
+ DescribeKeyRequest.struct_class = Types::DescribeKeyRequest
649
+
650
+ DescribeKeyResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
651
+ DescribeKeyResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
652
+ DescribeKeyResponse.add_member(:expire_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ExpireTime"))
653
+ DescribeKeyResponse.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, required: true, location_name: "Key"))
654
+ DescribeKeyResponse.add_member(:key_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "KeyArn"))
655
+ DescribeKeyResponse.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "KeyName"))
656
+ DescribeKeyResponse.add_member(:restrictions, Shapes::ShapeRef.new(shape: ApiKeyRestrictions, required: true, location_name: "Restrictions"))
657
+ DescribeKeyResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
658
+ DescribeKeyResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
659
+ DescribeKeyResponse.struct_class = Types::DescribeKeyResponse
660
+
592
661
  DescribeMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
593
662
  DescribeMapRequest.struct_class = Types::DescribeMapRequest
594
663
 
@@ -709,34 +778,41 @@ module Aws::LocationService
709
778
 
710
779
  GetMapGlyphsRequest.add_member(:font_stack, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "FontStack"))
711
780
  GetMapGlyphsRequest.add_member(:font_unicode_range, Shapes::ShapeRef.new(shape: GetMapGlyphsRequestFontUnicodeRangeString, required: true, location: "uri", location_name: "FontUnicodeRange"))
781
+ GetMapGlyphsRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
712
782
  GetMapGlyphsRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
713
783
  GetMapGlyphsRequest.struct_class = Types::GetMapGlyphsRequest
714
784
 
715
785
  GetMapGlyphsResponse.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "Blob"))
786
+ GetMapGlyphsResponse.add_member(:cache_control, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Cache-Control"))
716
787
  GetMapGlyphsResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
717
788
  GetMapGlyphsResponse.struct_class = Types::GetMapGlyphsResponse
718
789
  GetMapGlyphsResponse[:payload] = :blob
719
790
  GetMapGlyphsResponse[:payload_member] = GetMapGlyphsResponse.member(:blob)
720
791
 
721
792
  GetMapSpritesRequest.add_member(:file_name, Shapes::ShapeRef.new(shape: GetMapSpritesRequestFileNameString, required: true, location: "uri", location_name: "FileName"))
793
+ GetMapSpritesRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
722
794
  GetMapSpritesRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
723
795
  GetMapSpritesRequest.struct_class = Types::GetMapSpritesRequest
724
796
 
725
797
  GetMapSpritesResponse.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "Blob"))
798
+ GetMapSpritesResponse.add_member(:cache_control, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Cache-Control"))
726
799
  GetMapSpritesResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
727
800
  GetMapSpritesResponse.struct_class = Types::GetMapSpritesResponse
728
801
  GetMapSpritesResponse[:payload] = :blob
729
802
  GetMapSpritesResponse[:payload_member] = GetMapSpritesResponse.member(:blob)
730
803
 
804
+ GetMapStyleDescriptorRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
731
805
  GetMapStyleDescriptorRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
732
806
  GetMapStyleDescriptorRequest.struct_class = Types::GetMapStyleDescriptorRequest
733
807
 
734
808
  GetMapStyleDescriptorResponse.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "Blob"))
809
+ GetMapStyleDescriptorResponse.add_member(:cache_control, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Cache-Control"))
735
810
  GetMapStyleDescriptorResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
736
811
  GetMapStyleDescriptorResponse.struct_class = Types::GetMapStyleDescriptorResponse
737
812
  GetMapStyleDescriptorResponse[:payload] = :blob
738
813
  GetMapStyleDescriptorResponse[:payload_member] = GetMapStyleDescriptorResponse.member(:blob)
739
814
 
815
+ GetMapTileRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
740
816
  GetMapTileRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
741
817
  GetMapTileRequest.add_member(:x, Shapes::ShapeRef.new(shape: GetMapTileRequestXString, required: true, location: "uri", location_name: "X"))
742
818
  GetMapTileRequest.add_member(:y, Shapes::ShapeRef.new(shape: GetMapTileRequestYString, required: true, location: "uri", location_name: "Y"))
@@ -744,6 +820,7 @@ module Aws::LocationService
744
820
  GetMapTileRequest.struct_class = Types::GetMapTileRequest
745
821
 
746
822
  GetMapTileResponse.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "Blob"))
823
+ GetMapTileResponse.add_member(:cache_control, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Cache-Control"))
747
824
  GetMapTileResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
748
825
  GetMapTileResponse.struct_class = Types::GetMapTileResponse
749
826
  GetMapTileResponse[:payload] = :blob
@@ -833,6 +910,25 @@ module Aws::LocationService
833
910
  ListGeofencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
834
911
  ListGeofencesResponse.struct_class = Types::ListGeofencesResponse
835
912
 
913
+ ListKeysRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ApiKeyFilter, location_name: "Filter"))
914
+ ListKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListKeysRequestMaxResultsInteger, location_name: "MaxResults"))
915
+ ListKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
916
+ ListKeysRequest.struct_class = Types::ListKeysRequest
917
+
918
+ ListKeysResponse.add_member(:entries, Shapes::ShapeRef.new(shape: ListKeysResponseEntryList, required: true, location_name: "Entries"))
919
+ ListKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
920
+ ListKeysResponse.struct_class = Types::ListKeysResponse
921
+
922
+ ListKeysResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
923
+ ListKeysResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
924
+ ListKeysResponseEntry.add_member(:expire_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ExpireTime"))
925
+ ListKeysResponseEntry.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "KeyName"))
926
+ ListKeysResponseEntry.add_member(:restrictions, Shapes::ShapeRef.new(shape: ApiKeyRestrictions, required: true, location_name: "Restrictions"))
927
+ ListKeysResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
928
+ ListKeysResponseEntry.struct_class = Types::ListKeysResponseEntry
929
+
930
+ ListKeysResponseEntryList.member = Shapes::ShapeRef.new(shape: ListKeysResponseEntry)
931
+
836
932
  ListMapsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMapsRequestMaxResultsInteger, location_name: "MaxResults"))
837
933
  ListMapsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
838
934
  ListMapsRequest.struct_class = Types::ListMapsRequest
@@ -1115,6 +1211,19 @@ module Aws::LocationService
1115
1211
  UpdateGeofenceCollectionResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
1116
1212
  UpdateGeofenceCollectionResponse.struct_class = Types::UpdateGeofenceCollectionResponse
1117
1213
 
1214
+ UpdateKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
1215
+ UpdateKeyRequest.add_member(:expire_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpireTime"))
1216
+ UpdateKeyRequest.add_member(:force_update, Shapes::ShapeRef.new(shape: Boolean, location_name: "ForceUpdate"))
1217
+ UpdateKeyRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "KeyName"))
1218
+ UpdateKeyRequest.add_member(:no_expiry, Shapes::ShapeRef.new(shape: Boolean, location_name: "NoExpiry"))
1219
+ UpdateKeyRequest.add_member(:restrictions, Shapes::ShapeRef.new(shape: ApiKeyRestrictions, location_name: "Restrictions"))
1220
+ UpdateKeyRequest.struct_class = Types::UpdateKeyRequest
1221
+
1222
+ UpdateKeyResponse.add_member(:key_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "KeyArn"))
1223
+ UpdateKeyResponse.add_member(:key_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "KeyName"))
1224
+ UpdateKeyResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
1225
+ UpdateKeyResponse.struct_class = Types::UpdateKeyResponse
1226
+
1118
1227
  UpdateMapRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
1119
1228
  UpdateMapRequest.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MapName"))
1120
1229
  UpdateMapRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
@@ -1350,6 +1459,23 @@ module Aws::LocationService
1350
1459
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1351
1460
  end)
1352
1461
 
1462
+ api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
1463
+ o.name = "CreateKey"
1464
+ o.http_method = "POST"
1465
+ o.http_request_uri = "/metadata/v0/keys"
1466
+ o.endpoint_pattern = {
1467
+ "hostPrefix" => "metadata.",
1468
+ }
1469
+ o.input = Shapes::ShapeRef.new(shape: CreateKeyRequest)
1470
+ o.output = Shapes::ShapeRef.new(shape: CreateKeyResponse)
1471
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1477
+ end)
1478
+
1353
1479
  api.add_operation(:create_map, Seahorse::Model::Operation.new.tap do |o|
1354
1480
  o.name = "CreateMap"
1355
1481
  o.http_method = "POST"
@@ -1433,6 +1559,22 @@ module Aws::LocationService
1433
1559
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1434
1560
  end)
1435
1561
 
1562
+ api.add_operation(:delete_key, Seahorse::Model::Operation.new.tap do |o|
1563
+ o.name = "DeleteKey"
1564
+ o.http_method = "DELETE"
1565
+ o.http_request_uri = "/metadata/v0/keys/{KeyName}"
1566
+ o.endpoint_pattern = {
1567
+ "hostPrefix" => "metadata.",
1568
+ }
1569
+ o.input = Shapes::ShapeRef.new(shape: DeleteKeyRequest)
1570
+ o.output = Shapes::ShapeRef.new(shape: DeleteKeyResponse)
1571
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1572
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1573
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1574
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1575
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1576
+ end)
1577
+
1436
1578
  api.add_operation(:delete_map, Seahorse::Model::Operation.new.tap do |o|
1437
1579
  o.name = "DeleteMap"
1438
1580
  o.http_method = "DELETE"
@@ -1513,6 +1655,22 @@ module Aws::LocationService
1513
1655
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1514
1656
  end)
1515
1657
 
1658
+ api.add_operation(:describe_key, Seahorse::Model::Operation.new.tap do |o|
1659
+ o.name = "DescribeKey"
1660
+ o.http_method = "GET"
1661
+ o.http_request_uri = "/metadata/v0/keys/{KeyName}"
1662
+ o.endpoint_pattern = {
1663
+ "hostPrefix" => "metadata.",
1664
+ }
1665
+ o.input = Shapes::ShapeRef.new(shape: DescribeKeyRequest)
1666
+ o.output = Shapes::ShapeRef.new(shape: DescribeKeyResponse)
1667
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1668
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1669
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1670
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1671
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1672
+ end)
1673
+
1516
1674
  api.add_operation(:describe_map, Seahorse::Model::Operation.new.tap do |o|
1517
1675
  o.name = "DescribeMap"
1518
1676
  o.http_method = "GET"
@@ -1791,6 +1949,27 @@ module Aws::LocationService
1791
1949
  )
1792
1950
  end)
1793
1951
 
1952
+ api.add_operation(:list_keys, Seahorse::Model::Operation.new.tap do |o|
1953
+ o.name = "ListKeys"
1954
+ o.http_method = "POST"
1955
+ o.http_request_uri = "/metadata/v0/list-keys"
1956
+ o.endpoint_pattern = {
1957
+ "hostPrefix" => "metadata.",
1958
+ }
1959
+ o.input = Shapes::ShapeRef.new(shape: ListKeysRequest)
1960
+ o.output = Shapes::ShapeRef.new(shape: ListKeysResponse)
1961
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1962
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1963
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1964
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1965
+ o[:pager] = Aws::Pager.new(
1966
+ limit_key: "max_results",
1967
+ tokens: {
1968
+ "next_token" => "next_token"
1969
+ }
1970
+ )
1971
+ end)
1972
+
1794
1973
  api.add_operation(:list_maps, Seahorse::Model::Operation.new.tap do |o|
1795
1974
  o.name = "ListMaps"
1796
1975
  o.http_method = "POST"
@@ -2026,6 +2205,22 @@ module Aws::LocationService
2026
2205
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2027
2206
  end)
2028
2207
 
2208
+ api.add_operation(:update_key, Seahorse::Model::Operation.new.tap do |o|
2209
+ o.name = "UpdateKey"
2210
+ o.http_method = "PATCH"
2211
+ o.http_request_uri = "/metadata/v0/keys/{KeyName}"
2212
+ o.endpoint_pattern = {
2213
+ "hostPrefix" => "metadata.",
2214
+ }
2215
+ o.input = Shapes::ShapeRef.new(shape: UpdateKeyRequest)
2216
+ o.output = Shapes::ShapeRef.new(shape: UpdateKeyResponse)
2217
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2218
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2219
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2220
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2221
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2222
+ end)
2223
+
2029
2224
  api.add_operation(:update_map, Seahorse::Model::Operation.new.tap do |o|
2030
2225
  o.name = "UpdateMap"
2031
2226
  o.http_method = "PATCH"
@@ -50,9 +50,6 @@ module Aws::LocationService
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -9,104 +9,46 @@
9
9
 
10
10
  module Aws::LocationService
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://geo-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://geo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://geo.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://geo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
- IkJvb2xlYW4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0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6
108
- e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19XX0=
109
-
110
- JSON
111
53
  end
112
54
  end
@@ -151,6 +151,20 @@ module Aws::LocationService
151
151
  end
152
152
  end
153
153
 
154
+ class CreateKey
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::LocationService::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
154
168
  class CreateMap
155
169
  def self.build(context)
156
170
  unless context.config.regional_endpoint
@@ -221,6 +235,20 @@ module Aws::LocationService
221
235
  end
222
236
  end
223
237
 
238
+ class DeleteKey
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::LocationService::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
224
252
  class DeleteMap
225
253
  def self.build(context)
226
254
  unless context.config.regional_endpoint
@@ -291,6 +319,20 @@ module Aws::LocationService
291
319
  end
292
320
  end
293
321
 
322
+ class DescribeKey
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::LocationService::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
294
336
  class DescribeMap
295
337
  def self.build(context)
296
338
  unless context.config.regional_endpoint
@@ -515,6 +557,20 @@ module Aws::LocationService
515
557
  end
516
558
  end
517
559
 
560
+ class ListKeys
561
+ def self.build(context)
562
+ unless context.config.regional_endpoint
563
+ endpoint = context.config.endpoint.to_s
564
+ end
565
+ Aws::LocationService::EndpointParameters.new(
566
+ region: context.config.region,
567
+ use_dual_stack: context.config.use_dualstack_endpoint,
568
+ use_fips: context.config.use_fips_endpoint,
569
+ endpoint: endpoint,
570
+ )
571
+ end
572
+ end
573
+
518
574
  class ListMaps
519
575
  def self.build(context)
520
576
  unless context.config.regional_endpoint
@@ -697,6 +753,20 @@ module Aws::LocationService
697
753
  end
698
754
  end
699
755
 
756
+ class UpdateKey
757
+ def self.build(context)
758
+ unless context.config.regional_endpoint
759
+ endpoint = context.config.endpoint.to_s
760
+ end
761
+ Aws::LocationService::EndpointParameters.new(
762
+ region: context.config.region,
763
+ use_dual_stack: context.config.use_dualstack_endpoint,
764
+ use_fips: context.config.use_fips_endpoint,
765
+ endpoint: endpoint,
766
+ )
767
+ end
768
+ end
769
+
700
770
  class UpdateMap
701
771
  def self.build(context)
702
772
  unless context.config.regional_endpoint