aws-sdk-sagemakergeospatial 1.1.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,14 +46,16 @@ module Aws::SageMakerGeospatial
46
46
  EarthObservationJobOutputBands = Shapes::ListShape.new(name: 'EarthObservationJobOutputBands')
47
47
  EarthObservationJobStatus = Shapes::StringShape.new(name: 'EarthObservationJobStatus')
48
48
  EoCloudCoverInput = Shapes::StructureShape.new(name: 'EoCloudCoverInput')
49
- EojDataSourceConfigInput = Shapes::UnionShape.new(name: 'EojDataSourceConfigInput')
49
+ ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
50
50
  ExportEarthObservationJobInput = Shapes::StructureShape.new(name: 'ExportEarthObservationJobInput')
51
+ ExportEarthObservationJobInputClientTokenString = Shapes::StringShape.new(name: 'ExportEarthObservationJobInputClientTokenString')
51
52
  ExportEarthObservationJobOutput = Shapes::StructureShape.new(name: 'ExportEarthObservationJobOutput')
52
53
  ExportErrorDetails = Shapes::StructureShape.new(name: 'ExportErrorDetails')
53
54
  ExportErrorDetailsOutput = Shapes::StructureShape.new(name: 'ExportErrorDetailsOutput')
54
55
  ExportErrorType = Shapes::StringShape.new(name: 'ExportErrorType')
55
56
  ExportS3DataInput = Shapes::StructureShape.new(name: 'ExportS3DataInput')
56
57
  ExportVectorEnrichmentJobInput = Shapes::StructureShape.new(name: 'ExportVectorEnrichmentJobInput')
58
+ ExportVectorEnrichmentJobInputClientTokenString = Shapes::StringShape.new(name: 'ExportVectorEnrichmentJobInputClientTokenString')
57
59
  ExportVectorEnrichmentJobOutput = Shapes::StructureShape.new(name: 'ExportVectorEnrichmentJobOutput')
58
60
  ExportVectorEnrichmentJobOutputConfig = Shapes::StructureShape.new(name: 'ExportVectorEnrichmentJobOutputConfig')
59
61
  Filter = Shapes::StructureShape.new(name: 'Filter')
@@ -78,6 +80,7 @@ module Aws::SageMakerGeospatial
78
80
  ItemSource = Shapes::StructureShape.new(name: 'ItemSource')
79
81
  ItemSourceList = Shapes::ListShape.new(name: 'ItemSourceList')
80
82
  JobConfigInput = Shapes::UnionShape.new(name: 'JobConfigInput')
83
+ KmsKey = Shapes::StringShape.new(name: 'KmsKey')
81
84
  LandCoverSegmentationConfigInput = Shapes::StructureShape.new(name: 'LandCoverSegmentationConfigInput')
82
85
  LandsatCloudCoverLandInput = Shapes::StructureShape.new(name: 'LandsatCloudCoverLandInput')
83
86
  LinearRing = Shapes::ListShape.new(name: 'LinearRing')
@@ -98,7 +101,6 @@ module Aws::SageMakerGeospatial
98
101
  ListVectorEnrichmentJobOutputConfig = Shapes::StructureShape.new(name: 'ListVectorEnrichmentJobOutputConfig')
99
102
  LogicalOperator = Shapes::StringShape.new(name: 'LogicalOperator')
100
103
  MapMatchingConfig = Shapes::StructureShape.new(name: 'MapMatchingConfig')
101
- MetadataProvider = Shapes::StringShape.new(name: 'MetadataProvider')
102
104
  MultiPolygonGeometryInput = Shapes::StructureShape.new(name: 'MultiPolygonGeometryInput')
103
105
  NextToken = Shapes::StringShape.new(name: 'NextToken')
104
106
  Operation = Shapes::StructureShape.new(name: 'Operation')
@@ -124,15 +126,19 @@ module Aws::SageMakerGeospatial
124
126
  ResamplingConfigInput = Shapes::StructureShape.new(name: 'ResamplingConfigInput')
125
127
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
126
128
  ReverseGeocodingConfig = Shapes::StructureShape.new(name: 'ReverseGeocodingConfig')
127
- S3DataInput = Shapes::StructureShape.new(name: 'S3DataInput')
129
+ S3Uri = Shapes::StringShape.new(name: 'S3Uri')
128
130
  SearchRasterDataCollectionInput = Shapes::StructureShape.new(name: 'SearchRasterDataCollectionInput')
129
131
  SearchRasterDataCollectionOutput = Shapes::StructureShape.new(name: 'SearchRasterDataCollectionOutput')
130
132
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
131
133
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
132
134
  StackConfigInput = Shapes::StructureShape.new(name: 'StackConfigInput')
133
135
  StartEarthObservationJobInput = Shapes::StructureShape.new(name: 'StartEarthObservationJobInput')
136
+ StartEarthObservationJobInputClientTokenString = Shapes::StringShape.new(name: 'StartEarthObservationJobInputClientTokenString')
137
+ StartEarthObservationJobInputNameString = Shapes::StringShape.new(name: 'StartEarthObservationJobInputNameString')
134
138
  StartEarthObservationJobOutput = Shapes::StructureShape.new(name: 'StartEarthObservationJobOutput')
135
139
  StartVectorEnrichmentJobInput = Shapes::StructureShape.new(name: 'StartVectorEnrichmentJobInput')
140
+ StartVectorEnrichmentJobInputClientTokenString = Shapes::StringShape.new(name: 'StartVectorEnrichmentJobInputClientTokenString')
141
+ StartVectorEnrichmentJobInputNameString = Shapes::StringShape.new(name: 'StartVectorEnrichmentJobInputNameString')
136
142
  StartVectorEnrichmentJobOutput = Shapes::StructureShape.new(name: 'StartVectorEnrichmentJobOutput')
137
143
  StopEarthObservationJobInput = Shapes::StructureShape.new(name: 'StopEarthObservationJobInput')
138
144
  StopEarthObservationJobOutput = Shapes::StructureShape.new(name: 'StopEarthObservationJobOutput')
@@ -140,6 +146,7 @@ module Aws::SageMakerGeospatial
140
146
  StopVectorEnrichmentJobOutput = Shapes::StructureShape.new(name: 'StopVectorEnrichmentJobOutput')
141
147
  String = Shapes::StringShape.new(name: 'String')
142
148
  StringListInput = Shapes::ListShape.new(name: 'StringListInput')
149
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
143
150
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
144
151
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
145
152
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
@@ -150,6 +157,7 @@ module Aws::SageMakerGeospatial
150
157
  TemporalStatisticsListInput = Shapes::ListShape.new(name: 'TemporalStatisticsListInput')
151
158
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
152
159
  TimeRangeFilterInput = Shapes::StructureShape.new(name: 'TimeRangeFilterInput')
160
+ TimeRangeFilterOutput = Shapes::StructureShape.new(name: 'TimeRangeFilterOutput')
153
161
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
154
162
  Unit = Shapes::StringShape.new(name: 'Unit')
155
163
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -212,7 +220,7 @@ module Aws::SageMakerGeospatial
212
220
  CloudRemovalConfigInput.struct_class = Types::CloudRemovalConfigInput
213
221
 
214
222
  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"))
223
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
216
224
  ConflictException.struct_class = Types::ConflictException
217
225
 
218
226
  CustomIndicesInput.add_member(:operations, Shapes::ShapeRef.new(shape: OperationsListInput, location_name: "Operations"))
@@ -242,21 +250,16 @@ module Aws::SageMakerGeospatial
242
250
  EoCloudCoverInput.add_member(:upper_bound, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "UpperBound"))
243
251
  EoCloudCoverInput.struct_class = Types::EoCloudCoverInput
244
252
 
245
- EojDataSourceConfigInput.add_member(:s3_data, Shapes::ShapeRef.new(shape: S3DataInput, location_name: "S3Data"))
246
- EojDataSourceConfigInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
247
- EojDataSourceConfigInput.add_member_subclass(:s3_data, Types::EojDataSourceConfigInput::S3Data)
248
- EojDataSourceConfigInput.add_member_subclass(:unknown, Types::EojDataSourceConfigInput::Unknown)
249
- EojDataSourceConfigInput.struct_class = Types::EojDataSourceConfigInput
250
-
251
253
  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"))
254
+ ExportEarthObservationJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ExportEarthObservationJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
255
+ ExportEarthObservationJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
253
256
  ExportEarthObservationJobInput.add_member(:export_source_images, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExportSourceImages"))
254
257
  ExportEarthObservationJobInput.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfigInput, required: true, location_name: "OutputConfig"))
255
258
  ExportEarthObservationJobInput.struct_class = Types::ExportEarthObservationJobInput
256
259
 
257
260
  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"))
261
+ ExportEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
262
+ ExportEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
260
263
  ExportEarthObservationJobOutput.add_member(:export_source_images, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExportSourceImages"))
261
264
  ExportEarthObservationJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: EarthObservationJobExportStatus, required: true, location_name: "ExportStatus"))
262
265
  ExportEarthObservationJobOutput.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfigInput, required: true, location_name: "OutputConfig"))
@@ -270,18 +273,19 @@ module Aws::SageMakerGeospatial
270
273
  ExportErrorDetailsOutput.add_member(:type, Shapes::ShapeRef.new(shape: ExportErrorType, location_name: "Type"))
271
274
  ExportErrorDetailsOutput.struct_class = Types::ExportErrorDetailsOutput
272
275
 
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"))
276
+ ExportS3DataInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
277
+ ExportS3DataInput.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
275
278
  ExportS3DataInput.struct_class = Types::ExportS3DataInput
276
279
 
277
280
  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"))
281
+ ExportVectorEnrichmentJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ExportVectorEnrichmentJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
282
+ ExportVectorEnrichmentJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
279
283
  ExportVectorEnrichmentJobInput.add_member(:output_config, Shapes::ShapeRef.new(shape: ExportVectorEnrichmentJobOutputConfig, required: true, location_name: "OutputConfig"))
280
284
  ExportVectorEnrichmentJobInput.struct_class = Types::ExportVectorEnrichmentJobInput
281
285
 
282
286
  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"))
287
+ ExportVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
288
+ ExportVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
285
289
  ExportVectorEnrichmentJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobExportStatus, required: true, location_name: "ExportStatus"))
286
290
  ExportVectorEnrichmentJobOutput.add_member(:output_config, Shapes::ShapeRef.new(shape: ExportVectorEnrichmentJobOutputConfig, required: true, location_name: "OutputConfig"))
287
291
  ExportVectorEnrichmentJobOutput.struct_class = Types::ExportVectorEnrichmentJobOutput
@@ -309,15 +313,15 @@ module Aws::SageMakerGeospatial
309
313
  GetEarthObservationJobInput.struct_class = Types::GetEarthObservationJobInput
310
314
 
311
315
  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"))
316
+ GetEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
313
317
  GetEarthObservationJobOutput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
314
318
  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"))
319
+ GetEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location_name: "ExecutionRoleArn"))
316
320
  GetEarthObservationJobOutput.add_member(:export_error_details, Shapes::ShapeRef.new(shape: ExportErrorDetails, location_name: "ExportErrorDetails"))
317
321
  GetEarthObservationJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: EarthObservationJobExportStatus, location_name: "ExportStatus"))
318
322
  GetEarthObservationJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: InputConfigOutput, required: true, location_name: "InputConfig"))
319
323
  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"))
324
+ GetEarthObservationJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
321
325
  GetEarthObservationJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
322
326
  GetEarthObservationJobOutput.add_member(:output_bands, Shapes::ShapeRef.new(shape: EarthObservationJobOutputBands, location_name: "OutputBands"))
323
327
  GetEarthObservationJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: EarthObservationJobStatus, required: true, location_name: "Status"))
@@ -338,6 +342,7 @@ module Aws::SageMakerGeospatial
338
342
  GetRasterDataCollectionOutput.struct_class = Types::GetRasterDataCollectionOutput
339
343
 
340
344
  GetTileInput.add_member(:arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, required: true, location: "querystring", location_name: "Arn"))
345
+ GetTileInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location: "querystring", location_name: "ExecutionRoleArn"))
341
346
  GetTileInput.add_member(:image_assets, Shapes::ShapeRef.new(shape: StringListInput, required: true, location: "querystring", location_name: "ImageAssets"))
342
347
  GetTileInput.add_member(:image_mask, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "ImageMask"))
343
348
  GetTileInput.add_member(:output_data_type, Shapes::ShapeRef.new(shape: OutputType, location: "querystring", location_name: "OutputDataType"))
@@ -359,15 +364,15 @@ module Aws::SageMakerGeospatial
359
364
  GetVectorEnrichmentJobInput.struct_class = Types::GetVectorEnrichmentJobInput
360
365
 
361
366
  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"))
367
+ GetVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
363
368
  GetVectorEnrichmentJobOutput.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
364
369
  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"))
370
+ GetVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
366
371
  GetVectorEnrichmentJobOutput.add_member(:export_error_details, Shapes::ShapeRef.new(shape: VectorEnrichmentJobExportErrorDetails, location_name: "ExportErrorDetails"))
367
372
  GetVectorEnrichmentJobOutput.add_member(:export_status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobExportStatus, location_name: "ExportStatus"))
368
373
  GetVectorEnrichmentJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobInputConfig, required: true, location_name: "InputConfig"))
369
374
  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"))
375
+ GetVectorEnrichmentJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
371
376
  GetVectorEnrichmentJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
372
377
  GetVectorEnrichmentJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobStatus, required: true, location_name: "Status"))
373
378
  GetVectorEnrichmentJobOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -376,18 +381,16 @@ module Aws::SageMakerGeospatial
376
381
 
377
382
  ImageSourceBandList.member = Shapes::ShapeRef.new(shape: String)
378
383
 
379
- 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"))
384
+ InputConfigInput.add_member(:previous_earth_observation_job_arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, location_name: "PreviousEarthObservationJobArn"))
381
385
  InputConfigInput.add_member(:raster_data_collection_query, Shapes::ShapeRef.new(shape: RasterDataCollectionQueryInput, location_name: "RasterDataCollectionQuery"))
382
386
  InputConfigInput.struct_class = Types::InputConfigInput
383
387
 
384
- 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"))
388
+ InputConfigOutput.add_member(:previous_earth_observation_job_arn, Shapes::ShapeRef.new(shape: EarthObservationJobArn, location_name: "PreviousEarthObservationJobArn"))
386
389
  InputConfigOutput.add_member(:raster_data_collection_query, Shapes::ShapeRef.new(shape: RasterDataCollectionQueryOutput, location_name: "RasterDataCollectionQuery"))
387
390
  InputConfigOutput.struct_class = Types::InputConfigOutput
388
391
 
389
392
  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"))
393
+ InternalServerException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
391
394
  InternalServerException.struct_class = Types::InternalServerException
392
395
 
393
396
  ItemSource.add_member(:assets, Shapes::ShapeRef.new(shape: AssetsMap, location_name: "Assets"))
@@ -445,7 +448,7 @@ module Aws::SageMakerGeospatial
445
448
  ListEarthObservationJobOutput.struct_class = Types::ListEarthObservationJobOutput
446
449
 
447
450
  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"))
451
+ ListEarthObservationJobOutputConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
449
452
  ListEarthObservationJobOutputConfig.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
450
453
  ListEarthObservationJobOutputConfig.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
451
454
  ListEarthObservationJobOutputConfig.add_member(:operation_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OperationType"))
@@ -479,7 +482,7 @@ module Aws::SageMakerGeospatial
479
482
  ListVectorEnrichmentJobOutput.struct_class = Types::ListVectorEnrichmentJobOutput
480
483
 
481
484
  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"))
485
+ ListVectorEnrichmentJobOutputConfig.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
483
486
  ListVectorEnrichmentJobOutputConfig.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "DurationInSeconds"))
484
487
  ListVectorEnrichmentJobOutputConfig.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
485
488
  ListVectorEnrichmentJobOutputConfig.add_member(:status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobStatus, required: true, location_name: "Status"))
@@ -570,15 +573,15 @@ module Aws::SageMakerGeospatial
570
573
 
571
574
  RasterDataCollectionQueryInput.add_member(:area_of_interest, Shapes::ShapeRef.new(shape: AreaOfInterest, location_name: "AreaOfInterest"))
572
575
  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"))
576
+ RasterDataCollectionQueryInput.add_member(:raster_data_collection_arn, Shapes::ShapeRef.new(shape: DataCollectionArn, required: true, location_name: "RasterDataCollectionArn"))
574
577
  RasterDataCollectionQueryInput.add_member(:time_range_filter, Shapes::ShapeRef.new(shape: TimeRangeFilterInput, required: true, location_name: "TimeRangeFilter"))
575
578
  RasterDataCollectionQueryInput.struct_class = Types::RasterDataCollectionQueryInput
576
579
 
577
580
  RasterDataCollectionQueryOutput.add_member(:area_of_interest, Shapes::ShapeRef.new(shape: AreaOfInterest, location_name: "AreaOfInterest"))
578
581
  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"))
582
+ RasterDataCollectionQueryOutput.add_member(:raster_data_collection_arn, Shapes::ShapeRef.new(shape: DataCollectionArn, required: true, location_name: "RasterDataCollectionArn"))
580
583
  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"))
584
+ RasterDataCollectionQueryOutput.add_member(:time_range_filter, Shapes::ShapeRef.new(shape: TimeRangeFilterOutput, required: true, location_name: "TimeRangeFilter"))
582
585
  RasterDataCollectionQueryOutput.struct_class = Types::RasterDataCollectionQueryOutput
583
586
 
584
587
  RasterDataCollectionQueryWithBandFilterInput.add_member(:area_of_interest, Shapes::ShapeRef.new(shape: AreaOfInterest, location_name: "AreaOfInterest"))
@@ -593,18 +596,13 @@ module Aws::SageMakerGeospatial
593
596
  ResamplingConfigInput.struct_class = Types::ResamplingConfigInput
594
597
 
595
598
  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"))
599
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
597
600
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
598
601
 
599
602
  ReverseGeocodingConfig.add_member(:x_attribute_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "XAttributeName"))
600
603
  ReverseGeocodingConfig.add_member(:y_attribute_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "YAttributeName"))
601
604
  ReverseGeocodingConfig.struct_class = Types::ReverseGeocodingConfig
602
605
 
603
- S3DataInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
604
- 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"))
606
- S3DataInput.struct_class = Types::S3DataInput
607
-
608
606
  SearchRasterDataCollectionInput.add_member(:arn, Shapes::ShapeRef.new(shape: DataCollectionArn, required: true, location_name: "Arn"))
609
607
  SearchRasterDataCollectionInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
610
608
  SearchRasterDataCollectionInput.add_member(:raster_data_collection_query, Shapes::ShapeRef.new(shape: RasterDataCollectionQueryWithBandFilterInput, required: true, location_name: "RasterDataCollectionQuery"))
@@ -616,50 +614,50 @@ module Aws::SageMakerGeospatial
616
614
  SearchRasterDataCollectionOutput.struct_class = Types::SearchRasterDataCollectionOutput
617
615
 
618
616
  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"))
617
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
620
618
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
621
619
 
622
620
  StackConfigInput.add_member(:output_resolution, Shapes::ShapeRef.new(shape: OutputResolutionStackInput, location_name: "OutputResolution"))
623
621
  StackConfigInput.add_member(:target_bands, Shapes::ShapeRef.new(shape: StringListInput, location_name: "TargetBands"))
624
622
  StackConfigInput.struct_class = Types::StackConfigInput
625
623
 
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"))
624
+ StartEarthObservationJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: StartEarthObservationJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
625
+ StartEarthObservationJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
628
626
  StartEarthObservationJobInput.add_member(:input_config, Shapes::ShapeRef.new(shape: InputConfigInput, required: true, location_name: "InputConfig"))
629
627
  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"))
628
+ StartEarthObservationJobInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
629
+ StartEarthObservationJobInput.add_member(:name, Shapes::ShapeRef.new(shape: StartEarthObservationJobInputNameString, required: true, location_name: "Name"))
632
630
  StartEarthObservationJobInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
633
631
  StartEarthObservationJobInput.struct_class = Types::StartEarthObservationJobInput
634
632
 
635
633
  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"))
634
+ StartEarthObservationJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
637
635
  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"))
636
+ StartEarthObservationJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
639
637
  StartEarthObservationJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: InputConfigOutput, location_name: "InputConfig"))
640
638
  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"))
639
+ StartEarthObservationJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
642
640
  StartEarthObservationJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
643
641
  StartEarthObservationJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: EarthObservationJobStatus, required: true, location_name: "Status"))
644
642
  StartEarthObservationJobOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
645
643
  StartEarthObservationJobOutput.struct_class = Types::StartEarthObservationJobOutput
646
644
 
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"))
645
+ StartVectorEnrichmentJobInput.add_member(:client_token, Shapes::ShapeRef.new(shape: StartVectorEnrichmentJobInputClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
646
+ StartVectorEnrichmentJobInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
649
647
  StartVectorEnrichmentJobInput.add_member(:input_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobInputConfig, required: true, location_name: "InputConfig"))
650
648
  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"))
649
+ StartVectorEnrichmentJobInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
650
+ StartVectorEnrichmentJobInput.add_member(:name, Shapes::ShapeRef.new(shape: StartVectorEnrichmentJobInputNameString, required: true, location_name: "Name"))
653
651
  StartVectorEnrichmentJobInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
654
652
  StartVectorEnrichmentJobInput.struct_class = Types::StartVectorEnrichmentJobInput
655
653
 
656
654
  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"))
655
+ StartVectorEnrichmentJobOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "CreationTime"))
658
656
  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"))
657
+ StartVectorEnrichmentJobOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
660
658
  StartVectorEnrichmentJobOutput.add_member(:input_config, Shapes::ShapeRef.new(shape: VectorEnrichmentJobInputConfig, required: true, location_name: "InputConfig"))
661
659
  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"))
660
+ StartVectorEnrichmentJobOutput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
663
661
  StartVectorEnrichmentJobOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
664
662
  StartVectorEnrichmentJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: VectorEnrichmentJobStatus, required: true, location_name: "Status"))
665
663
  StartVectorEnrichmentJobOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -697,13 +695,17 @@ module Aws::SageMakerGeospatial
697
695
  TemporalStatisticsListInput.member = Shapes::ShapeRef.new(shape: TemporalStatistics)
698
696
 
699
697
  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"))
698
+ ThrottlingException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
701
699
  ThrottlingException.struct_class = Types::ThrottlingException
702
700
 
703
701
  TimeRangeFilterInput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
704
702
  TimeRangeFilterInput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
705
703
  TimeRangeFilterInput.struct_class = Types::TimeRangeFilterInput
706
704
 
705
+ TimeRangeFilterOutput.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "EndTime"))
706
+ TimeRangeFilterOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "StartTime"))
707
+ TimeRangeFilterOutput.struct_class = Types::TimeRangeFilterOutput
708
+
707
709
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
708
710
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
709
711
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -715,7 +717,7 @@ module Aws::SageMakerGeospatial
715
717
  UserDefined.struct_class = Types::UserDefined
716
718
 
717
719
  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"))
720
+ ValidationException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
719
721
  ValidationException.struct_class = Types::ValidationException
720
722
 
721
723
  VectorEnrichmentJobConfig.add_member(:map_matching_config, Shapes::ShapeRef.new(shape: MapMatchingConfig, location_name: "MapMatchingConfig"))
@@ -746,8 +748,8 @@ module Aws::SageMakerGeospatial
746
748
 
747
749
  VectorEnrichmentJobList.member = Shapes::ShapeRef.new(shape: ListVectorEnrichmentJobOutputConfig)
748
750
 
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"))
751
+ VectorEnrichmentJobS3Data.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "KmsKeyId"))
752
+ VectorEnrichmentJobS3Data.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
751
753
  VectorEnrichmentJobS3Data.struct_class = Types::VectorEnrichmentJobS3Data
752
754
 
753
755
  ViewOffNadirInput.add_member(:lower_bound, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "LowerBound"))
@@ -764,7 +766,8 @@ module Aws::SageMakerGeospatial
764
766
 
765
767
  ZonalStatisticsConfigInput.add_member(:statistics, Shapes::ShapeRef.new(shape: ZonalStatisticsListInput, required: true, location_name: "Statistics"))
766
768
  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"))
769
+ ZonalStatisticsConfigInput.add_member(:zone_s3_path, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "ZoneS3Path"))
770
+ ZonalStatisticsConfigInput.add_member(:zone_s3_path_kms_key_id, Shapes::ShapeRef.new(shape: KmsKey, location_name: "ZoneS3PathKmsKeyId"))
768
771
  ZonalStatisticsConfigInput.struct_class = Types::ZonalStatisticsConfigInput
769
772
 
770
773
  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?
@@ -14,36 +14,39 @@ module Aws::SageMakerGeospatial
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- 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"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://sagemaker-geospatial-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://sagemaker-geospatial-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://sagemaker-geospatial.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ 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"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://sagemaker-geospatial.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://sagemaker-geospatial.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end