aws-sdk-lookoutequipment 1.20.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lookoutequipment/client.rb +511 -18
- data/lib/aws-sdk-lookoutequipment/client_api.rb +279 -0
- data/lib/aws-sdk-lookoutequipment/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-lookoutequipment/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-lookoutequipment/endpoints.rb +112 -0
- data/lib/aws-sdk-lookoutequipment/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-lookoutequipment/types.rb +754 -20
- data/lib/aws-sdk-lookoutequipment.rb +1 -1
- metadata +2 -2
@@ -52,6 +52,7 @@ module Aws::LookoutEquipment
|
|
52
52
|
DeleteLabelGroupRequest = Shapes::StructureShape.new(name: 'DeleteLabelGroupRequest')
|
53
53
|
DeleteLabelRequest = Shapes::StructureShape.new(name: 'DeleteLabelRequest')
|
54
54
|
DeleteModelRequest = Shapes::StructureShape.new(name: 'DeleteModelRequest')
|
55
|
+
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
55
56
|
DescribeDataIngestionJobRequest = Shapes::StructureShape.new(name: 'DescribeDataIngestionJobRequest')
|
56
57
|
DescribeDataIngestionJobResponse = Shapes::StructureShape.new(name: 'DescribeDataIngestionJobResponse')
|
57
58
|
DescribeDatasetRequest = Shapes::StructureShape.new(name: 'DescribeDatasetRequest')
|
@@ -64,6 +65,10 @@ module Aws::LookoutEquipment
|
|
64
65
|
DescribeLabelResponse = Shapes::StructureShape.new(name: 'DescribeLabelResponse')
|
65
66
|
DescribeModelRequest = Shapes::StructureShape.new(name: 'DescribeModelRequest')
|
66
67
|
DescribeModelResponse = Shapes::StructureShape.new(name: 'DescribeModelResponse')
|
68
|
+
DescribeModelVersionRequest = Shapes::StructureShape.new(name: 'DescribeModelVersionRequest')
|
69
|
+
DescribeModelVersionResponse = Shapes::StructureShape.new(name: 'DescribeModelVersionResponse')
|
70
|
+
DescribeResourcePolicyRequest = Shapes::StructureShape.new(name: 'DescribeResourcePolicyRequest')
|
71
|
+
DescribeResourcePolicyResponse = Shapes::StructureShape.new(name: 'DescribeResourcePolicyResponse')
|
67
72
|
DuplicateTimestamps = Shapes::StructureShape.new(name: 'DuplicateTimestamps')
|
68
73
|
Equipment = Shapes::StringShape.new(name: 'Equipment')
|
69
74
|
EventDurationInSeconds = Shapes::IntegerShape.new(name: 'EventDurationInSeconds')
|
@@ -73,6 +78,10 @@ module Aws::LookoutEquipment
|
|
73
78
|
Float = Shapes::FloatShape.new(name: 'Float')
|
74
79
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
75
80
|
IdempotenceToken = Shapes::StringShape.new(name: 'IdempotenceToken')
|
81
|
+
ImportDatasetRequest = Shapes::StructureShape.new(name: 'ImportDatasetRequest')
|
82
|
+
ImportDatasetResponse = Shapes::StructureShape.new(name: 'ImportDatasetResponse')
|
83
|
+
ImportModelVersionRequest = Shapes::StructureShape.new(name: 'ImportModelVersionRequest')
|
84
|
+
ImportModelVersionResponse = Shapes::StructureShape.new(name: 'ImportModelVersionResponse')
|
76
85
|
InferenceEventSummaries = Shapes::ListShape.new(name: 'InferenceEventSummaries')
|
77
86
|
InferenceEventSummary = Shapes::StructureShape.new(name: 'InferenceEventSummary')
|
78
87
|
InferenceExecutionStatus = Shapes::StringShape.new(name: 'InferenceExecutionStatus')
|
@@ -127,6 +136,8 @@ module Aws::LookoutEquipment
|
|
127
136
|
ListLabelGroupsResponse = Shapes::StructureShape.new(name: 'ListLabelGroupsResponse')
|
128
137
|
ListLabelsRequest = Shapes::StructureShape.new(name: 'ListLabelsRequest')
|
129
138
|
ListLabelsResponse = Shapes::StructureShape.new(name: 'ListLabelsResponse')
|
139
|
+
ListModelVersionsRequest = Shapes::StructureShape.new(name: 'ListModelVersionsRequest')
|
140
|
+
ListModelVersionsResponse = Shapes::StructureShape.new(name: 'ListModelVersionsResponse')
|
130
141
|
ListModelsRequest = Shapes::StructureShape.new(name: 'ListModelsRequest')
|
131
142
|
ListModelsResponse = Shapes::StructureShape.new(name: 'ListModelsResponse')
|
132
143
|
ListOfDiscardedFiles = Shapes::ListShape.new(name: 'ListOfDiscardedFiles')
|
@@ -143,12 +154,23 @@ module Aws::LookoutEquipment
|
|
143
154
|
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
144
155
|
ModelSummaries = Shapes::ListShape.new(name: 'ModelSummaries')
|
145
156
|
ModelSummary = Shapes::StructureShape.new(name: 'ModelSummary')
|
157
|
+
ModelVersion = Shapes::IntegerShape.new(name: 'ModelVersion')
|
158
|
+
ModelVersionArn = Shapes::StringShape.new(name: 'ModelVersionArn')
|
159
|
+
ModelVersionSourceType = Shapes::StringShape.new(name: 'ModelVersionSourceType')
|
160
|
+
ModelVersionStatus = Shapes::StringShape.new(name: 'ModelVersionStatus')
|
161
|
+
ModelVersionSummaries = Shapes::ListShape.new(name: 'ModelVersionSummaries')
|
162
|
+
ModelVersionSummary = Shapes::StructureShape.new(name: 'ModelVersionSummary')
|
146
163
|
MonotonicValues = Shapes::StructureShape.new(name: 'MonotonicValues')
|
147
164
|
Monotonicity = Shapes::StringShape.new(name: 'Monotonicity')
|
148
165
|
MultipleOperatingModes = Shapes::StructureShape.new(name: 'MultipleOperatingModes')
|
149
166
|
NameOrArn = Shapes::StringShape.new(name: 'NameOrArn')
|
150
167
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
151
168
|
OffCondition = Shapes::StringShape.new(name: 'OffCondition')
|
169
|
+
Policy = Shapes::StringShape.new(name: 'Policy')
|
170
|
+
PolicyRevisionId = Shapes::StringShape.new(name: 'PolicyRevisionId')
|
171
|
+
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
172
|
+
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
173
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
152
174
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
153
175
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
154
176
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
@@ -180,6 +202,8 @@ module Aws::LookoutEquipment
|
|
180
202
|
UnsupportedTimestamps = Shapes::StructureShape.new(name: 'UnsupportedTimestamps')
|
181
203
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
182
204
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
205
|
+
UpdateActiveModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateActiveModelVersionRequest')
|
206
|
+
UpdateActiveModelVersionResponse = Shapes::StructureShape.new(name: 'UpdateActiveModelVersionResponse')
|
183
207
|
UpdateInferenceSchedulerRequest = Shapes::StructureShape.new(name: 'UpdateInferenceSchedulerRequest')
|
184
208
|
UpdateLabelGroupRequest = Shapes::StructureShape.new(name: 'UpdateLabelGroupRequest')
|
185
209
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
@@ -316,6 +340,9 @@ module Aws::LookoutEquipment
|
|
316
340
|
DeleteModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
317
341
|
DeleteModelRequest.struct_class = Types::DeleteModelRequest
|
318
342
|
|
343
|
+
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
344
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
345
|
+
|
319
346
|
DescribeDataIngestionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: IngestionJobId, required: true, location_name: "JobId"))
|
320
347
|
DescribeDataIngestionJobRequest.struct_class = Types::DescribeDataIngestionJobRequest
|
321
348
|
|
@@ -332,6 +359,7 @@ module Aws::LookoutEquipment
|
|
332
359
|
DescribeDataIngestionJobResponse.add_member(:ingested_data_size, Shapes::ShapeRef.new(shape: DataSizeInBytes, location_name: "IngestedDataSize"))
|
333
360
|
DescribeDataIngestionJobResponse.add_member(:data_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DataStartTime"))
|
334
361
|
DescribeDataIngestionJobResponse.add_member(:data_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DataEndTime"))
|
362
|
+
DescribeDataIngestionJobResponse.add_member(:source_dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "SourceDatasetArn"))
|
335
363
|
DescribeDataIngestionJobResponse.struct_class = Types::DescribeDataIngestionJobResponse
|
336
364
|
|
337
365
|
DescribeDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetIdentifier, required: true, location_name: "DatasetName"))
|
@@ -350,6 +378,7 @@ module Aws::LookoutEquipment
|
|
350
378
|
DescribeDatasetResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "RoleArn"))
|
351
379
|
DescribeDatasetResponse.add_member(:data_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DataStartTime"))
|
352
380
|
DescribeDatasetResponse.add_member(:data_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DataEndTime"))
|
381
|
+
DescribeDatasetResponse.add_member(:source_dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "SourceDatasetArn"))
|
353
382
|
DescribeDatasetResponse.struct_class = Types::DescribeDatasetResponse
|
354
383
|
|
355
384
|
DescribeInferenceSchedulerRequest.add_member(:inference_scheduler_name, Shapes::ShapeRef.new(shape: InferenceSchedulerIdentifier, required: true, location_name: "InferenceSchedulerName"))
|
@@ -421,13 +450,95 @@ module Aws::LookoutEquipment
|
|
421
450
|
DescribeModelResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
422
451
|
DescribeModelResponse.add_member(:server_side_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "ServerSideKmsKeyId"))
|
423
452
|
DescribeModelResponse.add_member(:off_condition, Shapes::ShapeRef.new(shape: OffCondition, location_name: "OffCondition"))
|
453
|
+
DescribeModelResponse.add_member(:source_model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "SourceModelVersionArn"))
|
454
|
+
DescribeModelResponse.add_member(:import_job_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ImportJobStartTime"))
|
455
|
+
DescribeModelResponse.add_member(:import_job_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ImportJobEndTime"))
|
456
|
+
DescribeModelResponse.add_member(:active_model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "ActiveModelVersion"))
|
457
|
+
DescribeModelResponse.add_member(:active_model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "ActiveModelVersionArn"))
|
458
|
+
DescribeModelResponse.add_member(:model_version_activated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ModelVersionActivatedAt"))
|
459
|
+
DescribeModelResponse.add_member(:previous_active_model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "PreviousActiveModelVersion"))
|
460
|
+
DescribeModelResponse.add_member(:previous_active_model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "PreviousActiveModelVersionArn"))
|
461
|
+
DescribeModelResponse.add_member(:previous_model_version_activated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "PreviousModelVersionActivatedAt"))
|
424
462
|
DescribeModelResponse.struct_class = Types::DescribeModelResponse
|
425
463
|
|
464
|
+
DescribeModelVersionRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
465
|
+
DescribeModelVersionRequest.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, required: true, location_name: "ModelVersion"))
|
466
|
+
DescribeModelVersionRequest.struct_class = Types::DescribeModelVersionRequest
|
467
|
+
|
468
|
+
DescribeModelVersionResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
469
|
+
DescribeModelVersionResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "ModelArn"))
|
470
|
+
DescribeModelVersionResponse.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "ModelVersion"))
|
471
|
+
DescribeModelVersionResponse.add_member(:model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "ModelVersionArn"))
|
472
|
+
DescribeModelVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, location_name: "Status"))
|
473
|
+
DescribeModelVersionResponse.add_member(:source_type, Shapes::ShapeRef.new(shape: ModelVersionSourceType, location_name: "SourceType"))
|
474
|
+
DescribeModelVersionResponse.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, location_name: "DatasetName"))
|
475
|
+
DescribeModelVersionResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "DatasetArn"))
|
476
|
+
DescribeModelVersionResponse.add_member(:schema, Shapes::ShapeRef.new(shape: InlineDataSchema, location_name: "Schema"))
|
477
|
+
DescribeModelVersionResponse.add_member(:labels_input_configuration, Shapes::ShapeRef.new(shape: LabelsInputConfiguration, location_name: "LabelsInputConfiguration"))
|
478
|
+
DescribeModelVersionResponse.add_member(:training_data_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TrainingDataStartTime"))
|
479
|
+
DescribeModelVersionResponse.add_member(:training_data_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TrainingDataEndTime"))
|
480
|
+
DescribeModelVersionResponse.add_member(:evaluation_data_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EvaluationDataStartTime"))
|
481
|
+
DescribeModelVersionResponse.add_member(:evaluation_data_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EvaluationDataEndTime"))
|
482
|
+
DescribeModelVersionResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "RoleArn"))
|
483
|
+
DescribeModelVersionResponse.add_member(:data_pre_processing_configuration, Shapes::ShapeRef.new(shape: DataPreProcessingConfiguration, location_name: "DataPreProcessingConfiguration"))
|
484
|
+
DescribeModelVersionResponse.add_member(:training_execution_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TrainingExecutionStartTime"))
|
485
|
+
DescribeModelVersionResponse.add_member(:training_execution_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TrainingExecutionEndTime"))
|
486
|
+
DescribeModelVersionResponse.add_member(:failed_reason, Shapes::ShapeRef.new(shape: BoundedLengthString, location_name: "FailedReason"))
|
487
|
+
DescribeModelVersionResponse.add_member(:model_metrics, Shapes::ShapeRef.new(shape: ModelMetrics, location_name: "ModelMetrics"))
|
488
|
+
DescribeModelVersionResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
|
489
|
+
DescribeModelVersionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
490
|
+
DescribeModelVersionResponse.add_member(:server_side_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "ServerSideKmsKeyId"))
|
491
|
+
DescribeModelVersionResponse.add_member(:off_condition, Shapes::ShapeRef.new(shape: OffCondition, location_name: "OffCondition"))
|
492
|
+
DescribeModelVersionResponse.add_member(:source_model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "SourceModelVersionArn"))
|
493
|
+
DescribeModelVersionResponse.add_member(:import_job_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ImportJobStartTime"))
|
494
|
+
DescribeModelVersionResponse.add_member(:import_job_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ImportJobEndTime"))
|
495
|
+
DescribeModelVersionResponse.add_member(:imported_data_size_in_bytes, Shapes::ShapeRef.new(shape: DataSizeInBytes, location_name: "ImportedDataSizeInBytes"))
|
496
|
+
DescribeModelVersionResponse.struct_class = Types::DescribeModelVersionResponse
|
497
|
+
|
498
|
+
DescribeResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
499
|
+
DescribeResourcePolicyRequest.struct_class = Types::DescribeResourcePolicyRequest
|
500
|
+
|
501
|
+
DescribeResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
|
502
|
+
DescribeResourcePolicyResponse.add_member(:resource_policy, Shapes::ShapeRef.new(shape: Policy, location_name: "ResourcePolicy"))
|
503
|
+
DescribeResourcePolicyResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
504
|
+
DescribeResourcePolicyResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
505
|
+
DescribeResourcePolicyResponse.struct_class = Types::DescribeResourcePolicyResponse
|
506
|
+
|
426
507
|
DuplicateTimestamps.add_member(:total_number_of_duplicate_timestamps, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "TotalNumberOfDuplicateTimestamps"))
|
427
508
|
DuplicateTimestamps.struct_class = Types::DuplicateTimestamps
|
428
509
|
|
429
510
|
FaultCodes.member = Shapes::ShapeRef.new(shape: FaultCode)
|
430
511
|
|
512
|
+
ImportDatasetRequest.add_member(:source_dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, required: true, location_name: "SourceDatasetArn"))
|
513
|
+
ImportDatasetRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, location_name: "DatasetName"))
|
514
|
+
ImportDatasetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotenceToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
515
|
+
ImportDatasetRequest.add_member(:server_side_kms_key_id, Shapes::ShapeRef.new(shape: NameOrArn, location_name: "ServerSideKmsKeyId"))
|
516
|
+
ImportDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
517
|
+
ImportDatasetRequest.struct_class = Types::ImportDatasetRequest
|
518
|
+
|
519
|
+
ImportDatasetResponse.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetName, location_name: "DatasetName"))
|
520
|
+
ImportDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "DatasetArn"))
|
521
|
+
ImportDatasetResponse.add_member(:status, Shapes::ShapeRef.new(shape: DatasetStatus, location_name: "Status"))
|
522
|
+
ImportDatasetResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: IngestionJobId, location_name: "JobId"))
|
523
|
+
ImportDatasetResponse.struct_class = Types::ImportDatasetResponse
|
524
|
+
|
525
|
+
ImportModelVersionRequest.add_member(:source_model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, required: true, location_name: "SourceModelVersionArn"))
|
526
|
+
ImportModelVersionRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
527
|
+
ImportModelVersionRequest.add_member(:dataset_name, Shapes::ShapeRef.new(shape: DatasetIdentifier, required: true, location_name: "DatasetName"))
|
528
|
+
ImportModelVersionRequest.add_member(:labels_input_configuration, Shapes::ShapeRef.new(shape: LabelsInputConfiguration, location_name: "LabelsInputConfiguration"))
|
529
|
+
ImportModelVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotenceToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
530
|
+
ImportModelVersionRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "RoleArn"))
|
531
|
+
ImportModelVersionRequest.add_member(:server_side_kms_key_id, Shapes::ShapeRef.new(shape: NameOrArn, location_name: "ServerSideKmsKeyId"))
|
532
|
+
ImportModelVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
533
|
+
ImportModelVersionRequest.struct_class = Types::ImportModelVersionRequest
|
534
|
+
|
535
|
+
ImportModelVersionResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
536
|
+
ImportModelVersionResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "ModelArn"))
|
537
|
+
ImportModelVersionResponse.add_member(:model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "ModelVersionArn"))
|
538
|
+
ImportModelVersionResponse.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "ModelVersion"))
|
539
|
+
ImportModelVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, location_name: "Status"))
|
540
|
+
ImportModelVersionResponse.struct_class = Types::ImportModelVersionResponse
|
541
|
+
|
431
542
|
InferenceEventSummaries.member = Shapes::ShapeRef.new(shape: InferenceEventSummary)
|
432
543
|
|
433
544
|
InferenceEventSummary.add_member(:inference_scheduler_arn, Shapes::ShapeRef.new(shape: InferenceSchedulerArn, location_name: "InferenceSchedulerArn"))
|
@@ -620,6 +731,21 @@ module Aws::LookoutEquipment
|
|
620
731
|
ListLabelsResponse.add_member(:label_summaries, Shapes::ShapeRef.new(shape: LabelSummaries, location_name: "LabelSummaries"))
|
621
732
|
ListLabelsResponse.struct_class = Types::ListLabelsResponse
|
622
733
|
|
734
|
+
ListModelVersionsRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
735
|
+
ListModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
736
|
+
ListModelVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
737
|
+
ListModelVersionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, location_name: "Status"))
|
738
|
+
ListModelVersionsRequest.add_member(:source_type, Shapes::ShapeRef.new(shape: ModelVersionSourceType, location_name: "SourceType"))
|
739
|
+
ListModelVersionsRequest.add_member(:created_at_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAtEndTime"))
|
740
|
+
ListModelVersionsRequest.add_member(:created_at_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAtStartTime"))
|
741
|
+
ListModelVersionsRequest.add_member(:max_model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "MaxModelVersion"))
|
742
|
+
ListModelVersionsRequest.add_member(:min_model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "MinModelVersion"))
|
743
|
+
ListModelVersionsRequest.struct_class = Types::ListModelVersionsRequest
|
744
|
+
|
745
|
+
ListModelVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
746
|
+
ListModelVersionsResponse.add_member(:model_version_summaries, Shapes::ShapeRef.new(shape: ModelVersionSummaries, location_name: "ModelVersionSummaries"))
|
747
|
+
ListModelVersionsResponse.struct_class = Types::ListModelVersionsResponse
|
748
|
+
|
623
749
|
ListModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
624
750
|
ListModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
625
751
|
ListModelsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
|
@@ -664,8 +790,21 @@ module Aws::LookoutEquipment
|
|
664
790
|
ModelSummary.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: DatasetArn, location_name: "DatasetArn"))
|
665
791
|
ModelSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "Status"))
|
666
792
|
ModelSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
793
|
+
ModelSummary.add_member(:active_model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "ActiveModelVersion"))
|
794
|
+
ModelSummary.add_member(:active_model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "ActiveModelVersionArn"))
|
667
795
|
ModelSummary.struct_class = Types::ModelSummary
|
668
796
|
|
797
|
+
ModelVersionSummaries.member = Shapes::ShapeRef.new(shape: ModelVersionSummary)
|
798
|
+
|
799
|
+
ModelVersionSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
800
|
+
ModelVersionSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "ModelArn"))
|
801
|
+
ModelVersionSummary.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "ModelVersion"))
|
802
|
+
ModelVersionSummary.add_member(:model_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "ModelVersionArn"))
|
803
|
+
ModelVersionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
804
|
+
ModelVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, location_name: "Status"))
|
805
|
+
ModelVersionSummary.add_member(:source_type, Shapes::ShapeRef.new(shape: ModelVersionSourceType, location_name: "SourceType"))
|
806
|
+
ModelVersionSummary.struct_class = Types::ModelVersionSummary
|
807
|
+
|
669
808
|
MonotonicValues.add_member(:status, Shapes::ShapeRef.new(shape: StatisticalIssueStatus, required: true, location_name: "Status"))
|
670
809
|
MonotonicValues.add_member(:monotonicity, Shapes::ShapeRef.new(shape: Monotonicity, location_name: "Monotonicity"))
|
671
810
|
MonotonicValues.struct_class = Types::MonotonicValues
|
@@ -673,6 +812,16 @@ module Aws::LookoutEquipment
|
|
673
812
|
MultipleOperatingModes.add_member(:status, Shapes::ShapeRef.new(shape: StatisticalIssueStatus, required: true, location_name: "Status"))
|
674
813
|
MultipleOperatingModes.struct_class = Types::MultipleOperatingModes
|
675
814
|
|
815
|
+
PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
816
|
+
PutResourcePolicyRequest.add_member(:resource_policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "ResourcePolicy"))
|
817
|
+
PutResourcePolicyRequest.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
|
818
|
+
PutResourcePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotenceToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
819
|
+
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
820
|
+
|
821
|
+
PutResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
|
822
|
+
PutResourcePolicyResponse.add_member(:policy_revision_id, Shapes::ShapeRef.new(shape: PolicyRevisionId, location_name: "PolicyRevisionId"))
|
823
|
+
PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
|
824
|
+
|
676
825
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "Message"))
|
677
826
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
678
827
|
|
@@ -759,6 +908,18 @@ module Aws::LookoutEquipment
|
|
759
908
|
|
760
909
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
761
910
|
|
911
|
+
UpdateActiveModelVersionRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
912
|
+
UpdateActiveModelVersionRequest.add_member(:model_version, Shapes::ShapeRef.new(shape: ModelVersion, required: true, location_name: "ModelVersion"))
|
913
|
+
UpdateActiveModelVersionRequest.struct_class = Types::UpdateActiveModelVersionRequest
|
914
|
+
|
915
|
+
UpdateActiveModelVersionResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
916
|
+
UpdateActiveModelVersionResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, location_name: "ModelArn"))
|
917
|
+
UpdateActiveModelVersionResponse.add_member(:current_active_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "CurrentActiveVersion"))
|
918
|
+
UpdateActiveModelVersionResponse.add_member(:previous_active_version, Shapes::ShapeRef.new(shape: ModelVersion, location_name: "PreviousActiveVersion"))
|
919
|
+
UpdateActiveModelVersionResponse.add_member(:current_active_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "CurrentActiveVersionArn"))
|
920
|
+
UpdateActiveModelVersionResponse.add_member(:previous_active_version_arn, Shapes::ShapeRef.new(shape: ModelVersionArn, location_name: "PreviousActiveVersionArn"))
|
921
|
+
UpdateActiveModelVersionResponse.struct_class = Types::UpdateActiveModelVersionResponse
|
922
|
+
|
762
923
|
UpdateInferenceSchedulerRequest.add_member(:inference_scheduler_name, Shapes::ShapeRef.new(shape: InferenceSchedulerIdentifier, required: true, location_name: "InferenceSchedulerName"))
|
763
924
|
UpdateInferenceSchedulerRequest.add_member(:data_delay_offset_in_minutes, Shapes::ShapeRef.new(shape: DataDelayOffsetInMinutes, location_name: "DataDelayOffsetInMinutes"))
|
764
925
|
UpdateInferenceSchedulerRequest.add_member(:data_upload_frequency, Shapes::ShapeRef.new(shape: DataUploadFrequency, location_name: "DataUploadFrequency"))
|
@@ -936,6 +1097,20 @@ module Aws::LookoutEquipment
|
|
936
1097
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
937
1098
|
end)
|
938
1099
|
|
1100
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1101
|
+
o.name = "DeleteResourcePolicy"
|
1102
|
+
o.http_method = "POST"
|
1103
|
+
o.http_request_uri = "/"
|
1104
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
|
1105
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1106
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1107
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1108
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1110
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1111
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1112
|
+
end)
|
1113
|
+
|
939
1114
|
api.add_operation(:describe_data_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
|
940
1115
|
o.name = "DescribeDataIngestionJob"
|
941
1116
|
o.http_method = "POST"
|
@@ -1014,6 +1189,62 @@ module Aws::LookoutEquipment
|
|
1014
1189
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1015
1190
|
end)
|
1016
1191
|
|
1192
|
+
api.add_operation(:describe_model_version, Seahorse::Model::Operation.new.tap do |o|
|
1193
|
+
o.name = "DescribeModelVersion"
|
1194
|
+
o.http_method = "POST"
|
1195
|
+
o.http_request_uri = "/"
|
1196
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeModelVersionRequest)
|
1197
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeModelVersionResponse)
|
1198
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1199
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1200
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1201
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1202
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1203
|
+
end)
|
1204
|
+
|
1205
|
+
api.add_operation(:describe_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1206
|
+
o.name = "DescribeResourcePolicy"
|
1207
|
+
o.http_method = "POST"
|
1208
|
+
o.http_request_uri = "/"
|
1209
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeResourcePolicyRequest)
|
1210
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeResourcePolicyResponse)
|
1211
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1212
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1216
|
+
end)
|
1217
|
+
|
1218
|
+
api.add_operation(:import_dataset, Seahorse::Model::Operation.new.tap do |o|
|
1219
|
+
o.name = "ImportDataset"
|
1220
|
+
o.http_method = "POST"
|
1221
|
+
o.http_request_uri = "/"
|
1222
|
+
o.input = Shapes::ShapeRef.new(shape: ImportDatasetRequest)
|
1223
|
+
o.output = Shapes::ShapeRef.new(shape: ImportDatasetResponse)
|
1224
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1225
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1226
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1227
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1228
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1229
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1230
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1231
|
+
end)
|
1232
|
+
|
1233
|
+
api.add_operation(:import_model_version, Seahorse::Model::Operation.new.tap do |o|
|
1234
|
+
o.name = "ImportModelVersion"
|
1235
|
+
o.http_method = "POST"
|
1236
|
+
o.http_request_uri = "/"
|
1237
|
+
o.input = Shapes::ShapeRef.new(shape: ImportModelVersionRequest)
|
1238
|
+
o.output = Shapes::ShapeRef.new(shape: ImportModelVersionResponse)
|
1239
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1240
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1241
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1243
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1244
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1245
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1246
|
+
end)
|
1247
|
+
|
1017
1248
|
api.add_operation(:list_data_ingestion_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1018
1249
|
o.name = "ListDataIngestionJobs"
|
1019
1250
|
o.http_method = "POST"
|
@@ -1142,6 +1373,25 @@ module Aws::LookoutEquipment
|
|
1142
1373
|
)
|
1143
1374
|
end)
|
1144
1375
|
|
1376
|
+
api.add_operation(:list_model_versions, Seahorse::Model::Operation.new.tap do |o|
|
1377
|
+
o.name = "ListModelVersions"
|
1378
|
+
o.http_method = "POST"
|
1379
|
+
o.http_request_uri = "/"
|
1380
|
+
o.input = Shapes::ShapeRef.new(shape: ListModelVersionsRequest)
|
1381
|
+
o.output = Shapes::ShapeRef.new(shape: ListModelVersionsResponse)
|
1382
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1383
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1384
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1385
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1386
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1387
|
+
o[:pager] = Aws::Pager.new(
|
1388
|
+
limit_key: "max_results",
|
1389
|
+
tokens: {
|
1390
|
+
"next_token" => "next_token"
|
1391
|
+
}
|
1392
|
+
)
|
1393
|
+
end)
|
1394
|
+
|
1145
1395
|
api.add_operation(:list_models, Seahorse::Model::Operation.new.tap do |o|
|
1146
1396
|
o.name = "ListModels"
|
1147
1397
|
o.http_method = "POST"
|
@@ -1192,6 +1442,21 @@ module Aws::LookoutEquipment
|
|
1192
1442
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1193
1443
|
end)
|
1194
1444
|
|
1445
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1446
|
+
o.name = "PutResourcePolicy"
|
1447
|
+
o.http_method = "POST"
|
1448
|
+
o.http_request_uri = "/"
|
1449
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
|
1450
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
|
1451
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1452
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1453
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1454
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1455
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1456
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1457
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1458
|
+
end)
|
1459
|
+
|
1195
1460
|
api.add_operation(:start_data_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
|
1196
1461
|
o.name = "StartDataIngestionJob"
|
1197
1462
|
o.http_method = "POST"
|
@@ -1262,6 +1527,20 @@ module Aws::LookoutEquipment
|
|
1262
1527
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1263
1528
|
end)
|
1264
1529
|
|
1530
|
+
api.add_operation(:update_active_model_version, Seahorse::Model::Operation.new.tap do |o|
|
1531
|
+
o.name = "UpdateActiveModelVersion"
|
1532
|
+
o.http_method = "POST"
|
1533
|
+
o.http_request_uri = "/"
|
1534
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateActiveModelVersionRequest)
|
1535
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateActiveModelVersionResponse)
|
1536
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1537
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1538
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1539
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1540
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1541
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1542
|
+
end)
|
1543
|
+
|
1265
1544
|
api.add_operation(:update_inference_scheduler, Seahorse::Model::Operation.new.tap do |o|
|
1266
1545
|
o.name = "UpdateInferenceScheduler"
|
1267
1546
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::LookoutEquipment
|
|
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::LookoutEquipment
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(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://lookoutequipment-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
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lookoutequipment-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
|
-
|
41
|
-
|
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://lookoutequipment-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://lookoutequipment-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://lookoutequipment.#{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
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://lookoutequipment.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://lookoutequipment.#{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
|
@@ -152,6 +152,20 @@ module Aws::LookoutEquipment
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
+
class DeleteResourcePolicy
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
155
169
|
class DescribeDataIngestionJob
|
156
170
|
def self.build(context)
|
157
171
|
unless context.config.regional_endpoint
|
@@ -236,6 +250,62 @@ module Aws::LookoutEquipment
|
|
236
250
|
end
|
237
251
|
end
|
238
252
|
|
253
|
+
class DescribeModelVersion
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
class DescribeResourcePolicy
|
268
|
+
def self.build(context)
|
269
|
+
unless context.config.regional_endpoint
|
270
|
+
endpoint = context.config.endpoint.to_s
|
271
|
+
end
|
272
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
273
|
+
region: context.config.region,
|
274
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
275
|
+
use_fips: context.config.use_fips_endpoint,
|
276
|
+
endpoint: endpoint,
|
277
|
+
)
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
class ImportDataset
|
282
|
+
def self.build(context)
|
283
|
+
unless context.config.regional_endpoint
|
284
|
+
endpoint = context.config.endpoint.to_s
|
285
|
+
end
|
286
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
287
|
+
region: context.config.region,
|
288
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
289
|
+
use_fips: context.config.use_fips_endpoint,
|
290
|
+
endpoint: endpoint,
|
291
|
+
)
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class ImportModelVersion
|
296
|
+
def self.build(context)
|
297
|
+
unless context.config.regional_endpoint
|
298
|
+
endpoint = context.config.endpoint.to_s
|
299
|
+
end
|
300
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
301
|
+
region: context.config.region,
|
302
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
303
|
+
use_fips: context.config.use_fips_endpoint,
|
304
|
+
endpoint: endpoint,
|
305
|
+
)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
239
309
|
class ListDataIngestionJobs
|
240
310
|
def self.build(context)
|
241
311
|
unless context.config.regional_endpoint
|
@@ -334,6 +404,20 @@ module Aws::LookoutEquipment
|
|
334
404
|
end
|
335
405
|
end
|
336
406
|
|
407
|
+
class ListModelVersions
|
408
|
+
def self.build(context)
|
409
|
+
unless context.config.regional_endpoint
|
410
|
+
endpoint = context.config.endpoint.to_s
|
411
|
+
end
|
412
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
413
|
+
region: context.config.region,
|
414
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
415
|
+
use_fips: context.config.use_fips_endpoint,
|
416
|
+
endpoint: endpoint,
|
417
|
+
)
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
337
421
|
class ListModels
|
338
422
|
def self.build(context)
|
339
423
|
unless context.config.regional_endpoint
|
@@ -376,6 +460,20 @@ module Aws::LookoutEquipment
|
|
376
460
|
end
|
377
461
|
end
|
378
462
|
|
463
|
+
class PutResourcePolicy
|
464
|
+
def self.build(context)
|
465
|
+
unless context.config.regional_endpoint
|
466
|
+
endpoint = context.config.endpoint.to_s
|
467
|
+
end
|
468
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
469
|
+
region: context.config.region,
|
470
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
471
|
+
use_fips: context.config.use_fips_endpoint,
|
472
|
+
endpoint: endpoint,
|
473
|
+
)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
379
477
|
class StartDataIngestionJob
|
380
478
|
def self.build(context)
|
381
479
|
unless context.config.regional_endpoint
|
@@ -446,6 +544,20 @@ module Aws::LookoutEquipment
|
|
446
544
|
end
|
447
545
|
end
|
448
546
|
|
547
|
+
class UpdateActiveModelVersion
|
548
|
+
def self.build(context)
|
549
|
+
unless context.config.regional_endpoint
|
550
|
+
endpoint = context.config.endpoint.to_s
|
551
|
+
end
|
552
|
+
Aws::LookoutEquipment::EndpointParameters.new(
|
553
|
+
region: context.config.region,
|
554
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
555
|
+
use_fips: context.config.use_fips_endpoint,
|
556
|
+
endpoint: endpoint,
|
557
|
+
)
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
449
561
|
class UpdateInferenceScheduler
|
450
562
|
def self.build(context)
|
451
563
|
unless context.config.regional_endpoint
|