aws-sdk-sagemakergeospatial 1.0.0 → 1.2.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.
@@ -47,13 +47,16 @@ module Aws::SageMakerGeospatial
47
47
  EarthObservationJobStatus = Shapes::StringShape.new(name: 'EarthObservationJobStatus')
48
48
  EoCloudCoverInput = Shapes::StructureShape.new(name: 'EoCloudCoverInput')
49
49
  EojDataSourceConfigInput = Shapes::UnionShape.new(name: 'EojDataSourceConfigInput')
50
+ ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
50
51
  ExportEarthObservationJobInput = Shapes::StructureShape.new(name: 'ExportEarthObservationJobInput')
52
+ ExportEarthObservationJobInputClientTokenString = Shapes::StringShape.new(name: 'ExportEarthObservationJobInputClientTokenString')
51
53
  ExportEarthObservationJobOutput = Shapes::StructureShape.new(name: 'ExportEarthObservationJobOutput')
52
54
  ExportErrorDetails = Shapes::StructureShape.new(name: 'ExportErrorDetails')
53
55
  ExportErrorDetailsOutput = Shapes::StructureShape.new(name: 'ExportErrorDetailsOutput')
54
56
  ExportErrorType = Shapes::StringShape.new(name: 'ExportErrorType')
55
57
  ExportS3DataInput = Shapes::StructureShape.new(name: 'ExportS3DataInput')
56
58
  ExportVectorEnrichmentJobInput = Shapes::StructureShape.new(name: 'ExportVectorEnrichmentJobInput')
59
+ ExportVectorEnrichmentJobInputClientTokenString = Shapes::StringShape.new(name: 'ExportVectorEnrichmentJobInputClientTokenString')
57
60
  ExportVectorEnrichmentJobOutput = Shapes::StructureShape.new(name: 'ExportVectorEnrichmentJobOutput')
58
61
  ExportVectorEnrichmentJobOutputConfig = Shapes::StructureShape.new(name: 'ExportVectorEnrichmentJobOutputConfig')
59
62
  Filter = Shapes::StructureShape.new(name: 'Filter')
@@ -78,6 +81,7 @@ module Aws::SageMakerGeospatial
78
81
  ItemSource = Shapes::StructureShape.new(name: 'ItemSource')
79
82
  ItemSourceList = Shapes::ListShape.new(name: 'ItemSourceList')
80
83
  JobConfigInput = Shapes::UnionShape.new(name: 'JobConfigInput')
84
+ KmsKey = Shapes::StringShape.new(name: 'KmsKey')
81
85
  LandCoverSegmentationConfigInput = Shapes::StructureShape.new(name: 'LandCoverSegmentationConfigInput')
82
86
  LandsatCloudCoverLandInput = Shapes::StructureShape.new(name: 'LandsatCloudCoverLandInput')
83
87
  LinearRing = Shapes::ListShape.new(name: 'LinearRing')
@@ -125,14 +129,19 @@ module Aws::SageMakerGeospatial
125
129
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
126
130
  ReverseGeocodingConfig = Shapes::StructureShape.new(name: 'ReverseGeocodingConfig')
127
131
  S3DataInput = Shapes::StructureShape.new(name: 'S3DataInput')
132
+ S3Uri = Shapes::StringShape.new(name: 'S3Uri')
128
133
  SearchRasterDataCollectionInput = Shapes::StructureShape.new(name: 'SearchRasterDataCollectionInput')
129
134
  SearchRasterDataCollectionOutput = Shapes::StructureShape.new(name: 'SearchRasterDataCollectionOutput')
130
135
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
131
136
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
132
137
  StackConfigInput = Shapes::StructureShape.new(name: 'StackConfigInput')
133
138
  StartEarthObservationJobInput = Shapes::StructureShape.new(name: 'StartEarthObservationJobInput')
139
+ StartEarthObservationJobInputClientTokenString = Shapes::StringShape.new(name: 'StartEarthObservationJobInputClientTokenString')
140
+ StartEarthObservationJobInputNameString = Shapes::StringShape.new(name: 'StartEarthObservationJobInputNameString')
134
141
  StartEarthObservationJobOutput = Shapes::StructureShape.new(name: 'StartEarthObservationJobOutput')
135
142
  StartVectorEnrichmentJobInput = Shapes::StructureShape.new(name: 'StartVectorEnrichmentJobInput')
143
+ StartVectorEnrichmentJobInputClientTokenString = Shapes::StringShape.new(name: 'StartVectorEnrichmentJobInputClientTokenString')
144
+ StartVectorEnrichmentJobInputNameString = Shapes::StringShape.new(name: 'StartVectorEnrichmentJobInputNameString')
136
145
  StartVectorEnrichmentJobOutput = Shapes::StructureShape.new(name: 'StartVectorEnrichmentJobOutput')
137
146
  StopEarthObservationJobInput = Shapes::StructureShape.new(name: 'StopEarthObservationJobInput')
138
147
  StopEarthObservationJobOutput = Shapes::StructureShape.new(name: 'StopEarthObservationJobOutput')
@@ -140,6 +149,7 @@ module Aws::SageMakerGeospatial
140
149
  StopVectorEnrichmentJobOutput = Shapes::StructureShape.new(name: 'StopVectorEnrichmentJobOutput')
141
150
  String = Shapes::StringShape.new(name: 'String')
142
151
  StringListInput = Shapes::ListShape.new(name: 'StringListInput')
152
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
143
153
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
144
154
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
145
155
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
@@ -150,6 +160,7 @@ module Aws::SageMakerGeospatial
150
160
  TemporalStatisticsListInput = Shapes::ListShape.new(name: 'TemporalStatisticsListInput')
151
161
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
152
162
  TimeRangeFilterInput = Shapes::StructureShape.new(name: 'TimeRangeFilterInput')
163
+ TimeRangeFilterOutput = Shapes::StructureShape.new(name: 'TimeRangeFilterOutput')
153
164
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
154
165
  Unit = Shapes::StringShape.new(name: 'Unit')
155
166
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -212,7 +223,7 @@ module Aws::SageMakerGeospatial
212
223
  CloudRemovalConfigInput.struct_class = Types::CloudRemovalConfigInput
213
224
 
214
225
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
215
- ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
226
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
216
227
  ConflictException.struct_class = Types::ConflictException
217
228
 
218
229
  CustomIndicesInput.add_member(:operations, Shapes::ShapeRef.new(shape: OperationsListInput, location_name: "Operations"))
@@ -249,14 +260,15 @@ module Aws::SageMakerGeospatial
249
260
  EojDataSourceConfigInput.struct_class = Types::EojDataSourceConfigInput
250
261
 
251
262
  ExportEarthObservationJobInput.add_member(:arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, required: true, location_name: "Arn"))
252
- ExportEarthObservationJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ExecutionRoleArn"))
263
+ ExportEarthObservationJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ExportEarthObservationJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
264
+ ExportEarthObservationJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
253
265
  ExportEarthObservationJobInput.add_member(:export_source_images, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExportSourceImages"))
254
266
  ExportEarthObservationJobInput.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfigInput, required: true, location_name: "OutputConfig"))
255
267
  ExportEarthObservationJobInput.struct_class = Types::ExportEarthObservationJobInput
256
268
 
257
269
  ExportEarthObservationJobOutput.add_member(:arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, required: true, location_name: "Arn"))
258
- ExportEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
259
- ExportEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ExecutionRoleArn"))
270
+ ExportEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
271
+ ExportEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
260
272
  ExportEarthObservationJobOutput.add_member(:export_source_images, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExportSourceImages"))
261
273
  ExportEarthObservationJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: EarthObservationJobExportStatus, required: true, location_name: "ExportStatus"))
262
274
  ExportEarthObservationJobOutput.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfigInput, required: true, location_name: "OutputConfig"))
@@ -270,18 +282,19 @@ module Aws::SageMakerGeospatial
270
282
  ExportErrorDetailsOutput.add_member(:type, Shapes::ShapeRef.new(shape: ExportErrorType, location_name: "Type"))
271
283
  ExportErrorDetailsOutput.struct_class = Types::ExportErrorDetailsOutput
272
284
 
273
- ExportS3DataInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
274
- ExportS3DataInput.add_member(:s3_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3Uri"))
285
+ ExportS3DataInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
286
+ ExportS3DataInput.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
275
287
  ExportS3DataInput.struct_class = Types::ExportS3DataInput
276
288
 
277
289
  ExportVectorEnrichmentJobInput.add_member(:arn, Shapes::ShapeRef.new(shape: VectorEnrichmentJobArn, required: true, location_name: "Arn"))
278
- ExportVectorEnrichmentJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ExecutionRoleArn"))
290
+ ExportVectorEnrichmentJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ExportVectorEnrichmentJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
291
+ ExportVectorEnrichmentJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
279
292
  ExportVectorEnrichmentJobInput.add_member(:output_config, Shapes::ShapeRef.new(shape: ExportVectorEnrichmentJobOutputConfig, required: true, location_name: "OutputConfig"))
280
293
  ExportVectorEnrichmentJobInput.struct_class = Types::ExportVectorEnrichmentJobInput
281
294
 
282
295
  ExportVectorEnrichmentJobOutput.add_member(:arn, Shapes::ShapeRef.new(shape: VectorEnrichmentJobArn, required: true, location_name: "Arn"))
283
- ExportVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
284
- ExportVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ExecutionRoleArn"))
296
+ ExportVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
297
+ ExportVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
285
298
  ExportVectorEnrichmentJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobExportStatus, required: true, location_name: "ExportStatus"))
286
299
  ExportVectorEnrichmentJobOutput.add_member(:output_config, Shapes::ShapeRef.new(shape: ExportVectorEnrichmentJobOutputConfig, required: true, location_name: "OutputConfig"))
287
300
  ExportVectorEnrichmentJobOutput.struct_class = Types::ExportVectorEnrichmentJobOutput
@@ -309,15 +322,15 @@ module Aws::SageMakerGeospatial
309
322
  GetEarthObservationJobInput.struct_class = Types::GetEarthObservationJobInput
310
323
 
311
324
  GetEarthObservationJobOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
312
- GetEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
325
+ GetEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
313
326
  GetEarthObservationJobOutput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
314
327
  GetEarthObservationJobOutput.add_member(:error_details, Shapes::ShapeRef.new(shape: EarthObservationJobErrorDetails, location_name: "ErrorDetails"))
315
- GetEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ExecutionRoleArn"))
328
+ GetEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location_name: "ExecutionRoleArn"))
316
329
  GetEarthObservationJobOutput.add_member(:export_error_details, Shapes::ShapeRef.new(shape: ExportErrorDetails, location_name: "ExportErrorDetails"))
317
330
  GetEarthObservationJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: EarthObservationJobExportStatus, location_name: "ExportStatus"))
318
331
  GetEarthObservationJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: InputConfigOutput, required: true, location_name: "InputConfig"))
319
332
  GetEarthObservationJobOutput.add_member(:job_config, Shapes::ShapeRef.new(shape: JobConfigInput, required: true, location_name: "JobConfig"))
320
- GetEarthObservationJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
333
+ GetEarthObservationJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
321
334
  GetEarthObservationJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
322
335
  GetEarthObservationJobOutput.add_member(:output_bands, Shapes::ShapeRef.new(shape: EarthObservationJobOutputBands, location_name: "OutputBands"))
323
336
  GetEarthObservationJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: EarthObservationJobStatus, required: true, location_name: "Status"))
@@ -338,6 +351,7 @@ module Aws::SageMakerGeospatial
338
351
  GetRasterDataCollectionOutput.struct_class = Types::GetRasterDataCollectionOutput
339
352
 
340
353
  GetTileInput.add_member(:arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, required: true, location: "querystring", location_name: "Arn"))
354
+ GetTileInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location: "querystring", location_name: "ExecutionRoleArn"))
341
355
  GetTileInput.add_member(:image_assets, Shapes::ShapeRef.new(shape: StringListInput, required: true, location: "querystring", location_name: "ImageAssets"))
342
356
  GetTileInput.add_member(:image_mask, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "ImageMask"))
343
357
  GetTileInput.add_member(:output_data_type, Shapes::ShapeRef.new(shape: OutputType, location: "querystring", location_name: "OutputDataType"))
@@ -359,15 +373,15 @@ module Aws::SageMakerGeospatial
359
373
  GetVectorEnrichmentJobInput.struct_class = Types::GetVectorEnrichmentJobInput
360
374
 
361
375
  GetVectorEnrichmentJobOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
362
- GetVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
376
+ GetVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
363
377
  GetVectorEnrichmentJobOutput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
364
378
  GetVectorEnrichmentJobOutput.add_member(:error_details, Shapes::ShapeRef.new(shape: VectorEnrichmentJobErrorDetails, location_name: "ErrorDetails"))
365
- GetVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ExecutionRoleArn"))
379
+ GetVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
366
380
  GetVectorEnrichmentJobOutput.add_member(:export_error_details, Shapes::ShapeRef.new(shape: VectorEnrichmentJobExportErrorDetails, location_name: "ExportErrorDetails"))
367
381
  GetVectorEnrichmentJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobExportStatus, location_name: "ExportStatus"))
368
382
  GetVectorEnrichmentJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobInputConfig, required: true, location_name: "InputConfig"))
369
383
  GetVectorEnrichmentJobOutput.add_member(:job_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobConfig, required: true, location_name: "JobConfig"))
370
- GetVectorEnrichmentJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
384
+ GetVectorEnrichmentJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
371
385
  GetVectorEnrichmentJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
372
386
  GetVectorEnrichmentJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobStatus, required: true, location_name: "Status"))
373
387
  GetVectorEnrichmentJobOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -377,17 +391,17 @@ module Aws::SageMakerGeospatial
377
391
  ImageSourceBandList.member = Shapes::ShapeRef.new(shape: String)
378
392
 
379
393
  InputConfigInput.add_member(:data_source_config, Shapes::ShapeRef.new(shape: EojDataSourceConfigInput, location_name: "DataSourceConfig"))
380
- InputConfigInput.add_member(:previous_earth_observation_job_arn, Shapes::ShapeRef.new(shape: String, location_name: "PreviousEarthObservationJobArn"))
394
+ InputConfigInput.add_member(:previous_earth_observation_job_arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, location_name: "PreviousEarthObservationJobArn"))
381
395
  InputConfigInput.add_member(:raster_data_collection_query, Shapes::ShapeRef.new(shape: RasterDataCollectionQueryInput, location_name: "RasterDataCollectionQuery"))
382
396
  InputConfigInput.struct_class = Types::InputConfigInput
383
397
 
384
398
  InputConfigOutput.add_member(:data_source_config, Shapes::ShapeRef.new(shape: EojDataSourceConfigInput, location_name: "DataSourceConfig"))
385
- InputConfigOutput.add_member(:previous_earth_observation_job_arn, Shapes::ShapeRef.new(shape: String, location_name: "PreviousEarthObservationJobArn"))
399
+ InputConfigOutput.add_member(:previous_earth_observation_job_arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, location_name: "PreviousEarthObservationJobArn"))
386
400
  InputConfigOutput.add_member(:raster_data_collection_query, Shapes::ShapeRef.new(shape: RasterDataCollectionQueryOutput, location_name: "RasterDataCollectionQuery"))
387
401
  InputConfigOutput.struct_class = Types::InputConfigOutput
388
402
 
389
403
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
390
- InternalServerException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
404
+ InternalServerException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
391
405
  InternalServerException.struct_class = Types::InternalServerException
392
406
 
393
407
  ItemSource.add_member(:assets, Shapes::ShapeRef.new(shape: AssetsMap, location_name: "Assets"))
@@ -445,7 +459,7 @@ module Aws::SageMakerGeospatial
445
459
  ListEarthObservationJobOutput.struct_class = Types::ListEarthObservationJobOutput
446
460
 
447
461
  ListEarthObservationJobOutputConfig.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
448
- ListEarthObservationJobOutputConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
462
+ ListEarthObservationJobOutputConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
449
463
  ListEarthObservationJobOutputConfig.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
450
464
  ListEarthObservationJobOutputConfig.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
451
465
  ListEarthObservationJobOutputConfig.add_member(:operation_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OperationType"))
@@ -479,7 +493,7 @@ module Aws::SageMakerGeospatial
479
493
  ListVectorEnrichmentJobOutput.struct_class = Types::ListVectorEnrichmentJobOutput
480
494
 
481
495
  ListVectorEnrichmentJobOutputConfig.add_member(:arn, Shapes::ShapeRef.new(shape: VectorEnrichmentJobArn, required: true, location_name: "Arn"))
482
- ListVectorEnrichmentJobOutputConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
496
+ ListVectorEnrichmentJobOutputConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
483
497
  ListVectorEnrichmentJobOutputConfig.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
484
498
  ListVectorEnrichmentJobOutputConfig.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
485
499
  ListVectorEnrichmentJobOutputConfig.add_member(:status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobStatus, required: true, location_name: "Status"))
@@ -570,15 +584,15 @@ module Aws::SageMakerGeospatial
570
584
 
571
585
  RasterDataCollectionQueryInput.add_member(:area_of_interest, Shapes::ShapeRef.new(shape: AreaOfInterest, location_name: "AreaOfInterest"))
572
586
  RasterDataCollectionQueryInput.add_member(:property_filters, Shapes::ShapeRef.new(shape: PropertyFilters, location_name: "PropertyFilters"))
573
- RasterDataCollectionQueryInput.add_member(:raster_data_collection_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RasterDataCollectionArn"))
587
+ RasterDataCollectionQueryInput.add_member(:raster_data_collection_arn, Shapes::ShapeRef.new(shape: DataCollectionArn, required: true, location_name: "RasterDataCollectionArn"))
574
588
  RasterDataCollectionQueryInput.add_member(:time_range_filter, Shapes::ShapeRef.new(shape: TimeRangeFilterInput, required: true, location_name: "TimeRangeFilter"))
575
589
  RasterDataCollectionQueryInput.struct_class = Types::RasterDataCollectionQueryInput
576
590
 
577
591
  RasterDataCollectionQueryOutput.add_member(:area_of_interest, Shapes::ShapeRef.new(shape: AreaOfInterest, location_name: "AreaOfInterest"))
578
592
  RasterDataCollectionQueryOutput.add_member(:property_filters, Shapes::ShapeRef.new(shape: PropertyFilters, location_name: "PropertyFilters"))
579
- RasterDataCollectionQueryOutput.add_member(:raster_data_collection_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RasterDataCollectionArn"))
593
+ RasterDataCollectionQueryOutput.add_member(:raster_data_collection_arn, Shapes::ShapeRef.new(shape: DataCollectionArn, required: true, location_name: "RasterDataCollectionArn"))
580
594
  RasterDataCollectionQueryOutput.add_member(:raster_data_collection_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RasterDataCollectionName"))
581
- RasterDataCollectionQueryOutput.add_member(:time_range_filter, Shapes::ShapeRef.new(shape: TimeRangeFilterInput, required: true, location_name: "TimeRangeFilter"))
595
+ RasterDataCollectionQueryOutput.add_member(:time_range_filter, Shapes::ShapeRef.new(shape: TimeRangeFilterOutput, required: true, location_name: "TimeRangeFilter"))
582
596
  RasterDataCollectionQueryOutput.struct_class = Types::RasterDataCollectionQueryOutput
583
597
 
584
598
  RasterDataCollectionQueryWithBandFilterInput.add_member(:area_of_interest, Shapes::ShapeRef.new(shape: AreaOfInterest, location_name: "AreaOfInterest"))
@@ -593,16 +607,16 @@ module Aws::SageMakerGeospatial
593
607
  ResamplingConfigInput.struct_class = Types::ResamplingConfigInput
594
608
 
595
609
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
596
- ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
610
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
597
611
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
598
612
 
599
613
  ReverseGeocodingConfig.add_member(:x_attribute_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "XAttributeName"))
600
614
  ReverseGeocodingConfig.add_member(:y_attribute_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "YAttributeName"))
601
615
  ReverseGeocodingConfig.struct_class = Types::ReverseGeocodingConfig
602
616
 
603
- S3DataInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
617
+ S3DataInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
604
618
  S3DataInput.add_member(:metadata_provider, Shapes::ShapeRef.new(shape: MetadataProvider, required: true, location_name: "MetadataProvider"))
605
- S3DataInput.add_member(:s3_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3Uri"))
619
+ S3DataInput.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
606
620
  S3DataInput.struct_class = Types::S3DataInput
607
621
 
608
622
  SearchRasterDataCollectionInput.add_member(:arn, Shapes::ShapeRef.new(shape: DataCollectionArn, required: true, location_name: "Arn"))
@@ -616,50 +630,50 @@ module Aws::SageMakerGeospatial
616
630
  SearchRasterDataCollectionOutput.struct_class = Types::SearchRasterDataCollectionOutput
617
631
 
618
632
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
619
- ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
633
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
620
634
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
621
635
 
622
636
  StackConfigInput.add_member(:output_resolution, Shapes::ShapeRef.new(shape: OutputResolutionStackInput, location_name: "OutputResolution"))
623
637
  StackConfigInput.add_member(:target_bands, Shapes::ShapeRef.new(shape: StringListInput, location_name: "TargetBands"))
624
638
  StackConfigInput.struct_class = Types::StackConfigInput
625
639
 
626
- StartEarthObservationJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
627
- StartEarthObservationJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ExecutionRoleArn"))
640
+ StartEarthObservationJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: StartEarthObservationJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
641
+ StartEarthObservationJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location_name: "ExecutionRoleArn"))
628
642
  StartEarthObservationJobInput.add_member(:input_config, Shapes::ShapeRef.new(shape: InputConfigInput, required: true, location_name: "InputConfig"))
629
643
  StartEarthObservationJobInput.add_member(:job_config, Shapes::ShapeRef.new(shape: JobConfigInput, required: true, location_name: "JobConfig"))
630
- StartEarthObservationJobInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
631
- StartEarthObservationJobInput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
644
+ StartEarthObservationJobInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
645
+ StartEarthObservationJobInput.add_member(:name, Shapes::ShapeRef.new(shape: StartEarthObservationJobInputNameString, required: true, location_name: "Name"))
632
646
  StartEarthObservationJobInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
633
647
  StartEarthObservationJobInput.struct_class = Types::StartEarthObservationJobInput
634
648
 
635
649
  StartEarthObservationJobOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
636
- StartEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
650
+ StartEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
637
651
  StartEarthObservationJobOutput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
638
- StartEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ExecutionRoleArn"))
652
+ StartEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location_name: "ExecutionRoleArn"))
639
653
  StartEarthObservationJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: InputConfigOutput, location_name: "InputConfig"))
640
654
  StartEarthObservationJobOutput.add_member(:job_config, Shapes::ShapeRef.new(shape: JobConfigInput, required: true, location_name: "JobConfig"))
641
- StartEarthObservationJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
655
+ StartEarthObservationJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
642
656
  StartEarthObservationJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
643
657
  StartEarthObservationJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: EarthObservationJobStatus, required: true, location_name: "Status"))
644
658
  StartEarthObservationJobOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
645
659
  StartEarthObservationJobOutput.struct_class = Types::StartEarthObservationJobOutput
646
660
 
647
- StartVectorEnrichmentJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
648
- StartVectorEnrichmentJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ExecutionRoleArn"))
661
+ StartVectorEnrichmentJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: StartVectorEnrichmentJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
662
+ StartVectorEnrichmentJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
649
663
  StartVectorEnrichmentJobInput.add_member(:input_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobInputConfig, required: true, location_name: "InputConfig"))
650
664
  StartVectorEnrichmentJobInput.add_member(:job_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobConfig, required: true, location_name: "JobConfig"))
651
- StartVectorEnrichmentJobInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
652
- StartVectorEnrichmentJobInput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
665
+ StartVectorEnrichmentJobInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
666
+ StartVectorEnrichmentJobInput.add_member(:name, Shapes::ShapeRef.new(shape: StartVectorEnrichmentJobInputNameString, required: true, location_name: "Name"))
653
667
  StartVectorEnrichmentJobInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
654
668
  StartVectorEnrichmentJobInput.struct_class = Types::StartVectorEnrichmentJobInput
655
669
 
656
670
  StartVectorEnrichmentJobOutput.add_member(:arn, Shapes::ShapeRef.new(shape: VectorEnrichmentJobArn, required: true, location_name: "Arn"))
657
- StartVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
671
+ StartVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
658
672
  StartVectorEnrichmentJobOutput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
659
- StartVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ExecutionRoleArn"))
673
+ StartVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
660
674
  StartVectorEnrichmentJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobInputConfig, required: true, location_name: "InputConfig"))
661
675
  StartVectorEnrichmentJobOutput.add_member(:job_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobConfig, required: true, location_name: "JobConfig"))
662
- StartVectorEnrichmentJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
676
+ StartVectorEnrichmentJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
663
677
  StartVectorEnrichmentJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
664
678
  StartVectorEnrichmentJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobStatus, required: true, location_name: "Status"))
665
679
  StartVectorEnrichmentJobOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -697,13 +711,17 @@ module Aws::SageMakerGeospatial
697
711
  TemporalStatisticsListInput.member = Shapes::ShapeRef.new(shape: TemporalStatistics)
698
712
 
699
713
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
700
- ThrottlingException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
714
+ ThrottlingException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
701
715
  ThrottlingException.struct_class = Types::ThrottlingException
702
716
 
703
717
  TimeRangeFilterInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
704
718
  TimeRangeFilterInput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
705
719
  TimeRangeFilterInput.struct_class = Types::TimeRangeFilterInput
706
720
 
721
+ TimeRangeFilterOutput.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "EndTime"))
722
+ TimeRangeFilterOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "StartTime"))
723
+ TimeRangeFilterOutput.struct_class = Types::TimeRangeFilterOutput
724
+
707
725
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
708
726
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
709
727
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -715,7 +733,7 @@ module Aws::SageMakerGeospatial
715
733
  UserDefined.struct_class = Types::UserDefined
716
734
 
717
735
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
718
- ValidationException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
736
+ ValidationException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
719
737
  ValidationException.struct_class = Types::ValidationException
720
738
 
721
739
  VectorEnrichmentJobConfig.add_member(:map_matching_config, Shapes::ShapeRef.new(shape: MapMatchingConfig, location_name: "MapMatchingConfig"))
@@ -746,8 +764,8 @@ module Aws::SageMakerGeospatial
746
764
 
747
765
  VectorEnrichmentJobList.member = Shapes::ShapeRef.new(shape: ListVectorEnrichmentJobOutputConfig)
748
766
 
749
- VectorEnrichmentJobS3Data.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
750
- VectorEnrichmentJobS3Data.add_member(:s3_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3Uri"))
767
+ VectorEnrichmentJobS3Data.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
768
+ VectorEnrichmentJobS3Data.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
751
769
  VectorEnrichmentJobS3Data.struct_class = Types::VectorEnrichmentJobS3Data
752
770
 
753
771
  ViewOffNadirInput.add_member(:lower_bound, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "LowerBound"))
@@ -764,7 +782,8 @@ module Aws::SageMakerGeospatial
764
782
 
765
783
  ZonalStatisticsConfigInput.add_member(:statistics, Shapes::ShapeRef.new(shape: ZonalStatisticsListInput, required: true, location_name: "Statistics"))
766
784
  ZonalStatisticsConfigInput.add_member(:target_bands, Shapes::ShapeRef.new(shape: StringListInput, location_name: "TargetBands"))
767
- ZonalStatisticsConfigInput.add_member(:zone_s3_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ZoneS3Path"))
785
+ ZonalStatisticsConfigInput.add_member(:zone_s3_path, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "ZoneS3Path"))
786
+ ZonalStatisticsConfigInput.add_member(:zone_s3_path_kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "ZoneS3PathKmsKeyId"))
768
787
  ZonalStatisticsConfigInput.struct_class = Types::ZonalStatisticsConfigInput
769
788
 
770
789
  ZonalStatisticsListInput.member = Shapes::ShapeRef.new(shape: ZonalStatistics)
@@ -50,9 +50,6 @@ module Aws::SageMakerGeospatial
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::SageMakerGeospatial
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://sagemaker-geospatial-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://sagemaker-geospatial-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://sagemaker-geospatial.#{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://sagemaker-geospatial.#{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
- IkJvb2xlYW4ifSwiVXNlRkl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