aws-sdk-lookoutequipment 1.21.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lookoutequipment/client.rb +507 -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
@@ -400,10 +400,9 @@ module Aws::LookoutEquipment
|
|
400
400
|
|
401
401
|
# Creates a container for a collection of data being ingested for
|
402
402
|
# analysis. The dataset contains the metadata describing where the data
|
403
|
-
# is and what the data actually looks like.
|
404
|
-
#
|
405
|
-
#
|
406
|
-
# ingested data.
|
403
|
+
# is and what the data actually looks like. For example, it contains the
|
404
|
+
# location of the data source, the data schema, and other information. A
|
405
|
+
# dataset also contains any tags associated with the ingested data.
|
407
406
|
#
|
408
407
|
# @option params [required, String] :dataset_name
|
409
408
|
# The name of the dataset being created.
|
@@ -453,7 +452,7 @@ module Aws::LookoutEquipment
|
|
453
452
|
#
|
454
453
|
# resp.dataset_name #=> String
|
455
454
|
# resp.dataset_arn #=> String
|
456
|
-
# resp.status #=> String, one of "CREATED", "INGESTION_IN_PROGRESS", "ACTIVE"
|
455
|
+
# resp.status #=> String, one of "CREATED", "INGESTION_IN_PROGRESS", "ACTIVE", "IMPORT_IN_PROGRESS"
|
457
456
|
#
|
458
457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateDataset AWS API Documentation
|
459
458
|
#
|
@@ -848,7 +847,7 @@ module Aws::LookoutEquipment
|
|
848
847
|
# @example Response structure
|
849
848
|
#
|
850
849
|
# resp.model_arn #=> String
|
851
|
-
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
850
|
+
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS"
|
852
851
|
#
|
853
852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateModel AWS API Documentation
|
854
853
|
#
|
@@ -985,6 +984,29 @@ module Aws::LookoutEquipment
|
|
985
984
|
req.send_request(options)
|
986
985
|
end
|
987
986
|
|
987
|
+
# Deletes the resource policy attached to the resource.
|
988
|
+
#
|
989
|
+
# @option params [required, String] :resource_arn
|
990
|
+
# The Amazon Resource Name (ARN) of the resource for which the resource
|
991
|
+
# policy should be deleted.
|
992
|
+
#
|
993
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
994
|
+
#
|
995
|
+
# @example Request syntax with placeholder values
|
996
|
+
#
|
997
|
+
# resp = client.delete_resource_policy({
|
998
|
+
# resource_arn: "ResourceArn", # required
|
999
|
+
# })
|
1000
|
+
#
|
1001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteResourcePolicy AWS API Documentation
|
1002
|
+
#
|
1003
|
+
# @overload delete_resource_policy(params = {})
|
1004
|
+
# @param [Hash] params ({})
|
1005
|
+
def delete_resource_policy(params = {}, options = {})
|
1006
|
+
req = build_request(:delete_resource_policy, params)
|
1007
|
+
req.send_request(options)
|
1008
|
+
end
|
1009
|
+
|
988
1010
|
# Provides information on a specific data ingestion job such as creation
|
989
1011
|
# time, dataset ARN, and status.
|
990
1012
|
#
|
@@ -1006,6 +1028,7 @@ module Aws::LookoutEquipment
|
|
1006
1028
|
# * {Types::DescribeDataIngestionJobResponse#ingested_data_size #ingested_data_size} => Integer
|
1007
1029
|
# * {Types::DescribeDataIngestionJobResponse#data_start_time #data_start_time} => Time
|
1008
1030
|
# * {Types::DescribeDataIngestionJobResponse#data_end_time #data_end_time} => Time
|
1031
|
+
# * {Types::DescribeDataIngestionJobResponse#source_dataset_arn #source_dataset_arn} => String
|
1009
1032
|
#
|
1010
1033
|
# @example Request syntax with placeholder values
|
1011
1034
|
#
|
@@ -1022,7 +1045,7 @@ module Aws::LookoutEquipment
|
|
1022
1045
|
# resp.ingestion_input_configuration.s3_input_configuration.key_pattern #=> String
|
1023
1046
|
# resp.role_arn #=> String
|
1024
1047
|
# resp.created_at #=> Time
|
1025
|
-
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
1048
|
+
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS"
|
1026
1049
|
# resp.failed_reason #=> String
|
1027
1050
|
# resp.data_quality_summary.insufficient_sensor_data.missing_complete_sensor_data.affected_sensor_count #=> Integer
|
1028
1051
|
# resp.data_quality_summary.insufficient_sensor_data.sensors_with_short_date_range.affected_sensor_count #=> Integer
|
@@ -1041,6 +1064,7 @@ module Aws::LookoutEquipment
|
|
1041
1064
|
# resp.ingested_data_size #=> Integer
|
1042
1065
|
# resp.data_start_time #=> Time
|
1043
1066
|
# resp.data_end_time #=> Time
|
1067
|
+
# resp.source_dataset_arn #=> String
|
1044
1068
|
#
|
1045
1069
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob AWS API Documentation
|
1046
1070
|
#
|
@@ -1072,6 +1096,7 @@ module Aws::LookoutEquipment
|
|
1072
1096
|
# * {Types::DescribeDatasetResponse#role_arn #role_arn} => String
|
1073
1097
|
# * {Types::DescribeDatasetResponse#data_start_time #data_start_time} => Time
|
1074
1098
|
# * {Types::DescribeDatasetResponse#data_end_time #data_end_time} => Time
|
1099
|
+
# * {Types::DescribeDatasetResponse#source_dataset_arn #source_dataset_arn} => String
|
1075
1100
|
#
|
1076
1101
|
# @example Request syntax with placeholder values
|
1077
1102
|
#
|
@@ -1085,7 +1110,7 @@ module Aws::LookoutEquipment
|
|
1085
1110
|
# resp.dataset_arn #=> String
|
1086
1111
|
# resp.created_at #=> Time
|
1087
1112
|
# resp.last_updated_at #=> Time
|
1088
|
-
# resp.status #=> String, one of "CREATED", "INGESTION_IN_PROGRESS", "ACTIVE"
|
1113
|
+
# resp.status #=> String, one of "CREATED", "INGESTION_IN_PROGRESS", "ACTIVE", "IMPORT_IN_PROGRESS"
|
1089
1114
|
# resp.schema #=> String
|
1090
1115
|
# resp.server_side_kms_key_id #=> String
|
1091
1116
|
# resp.ingestion_input_configuration.s3_input_configuration.bucket #=> String
|
@@ -1107,6 +1132,7 @@ module Aws::LookoutEquipment
|
|
1107
1132
|
# resp.role_arn #=> String
|
1108
1133
|
# resp.data_start_time #=> Time
|
1109
1134
|
# resp.data_end_time #=> Time
|
1135
|
+
# resp.source_dataset_arn #=> String
|
1110
1136
|
#
|
1111
1137
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset AWS API Documentation
|
1112
1138
|
#
|
@@ -1295,6 +1321,15 @@ module Aws::LookoutEquipment
|
|
1295
1321
|
# * {Types::DescribeModelResponse#created_at #created_at} => Time
|
1296
1322
|
# * {Types::DescribeModelResponse#server_side_kms_key_id #server_side_kms_key_id} => String
|
1297
1323
|
# * {Types::DescribeModelResponse#off_condition #off_condition} => String
|
1324
|
+
# * {Types::DescribeModelResponse#source_model_version_arn #source_model_version_arn} => String
|
1325
|
+
# * {Types::DescribeModelResponse#import_job_start_time #import_job_start_time} => Time
|
1326
|
+
# * {Types::DescribeModelResponse#import_job_end_time #import_job_end_time} => Time
|
1327
|
+
# * {Types::DescribeModelResponse#active_model_version #active_model_version} => Integer
|
1328
|
+
# * {Types::DescribeModelResponse#active_model_version_arn #active_model_version_arn} => String
|
1329
|
+
# * {Types::DescribeModelResponse#model_version_activated_at #model_version_activated_at} => Time
|
1330
|
+
# * {Types::DescribeModelResponse#previous_active_model_version #previous_active_model_version} => Integer
|
1331
|
+
# * {Types::DescribeModelResponse#previous_active_model_version_arn #previous_active_model_version_arn} => String
|
1332
|
+
# * {Types::DescribeModelResponse#previous_model_version_activated_at #previous_model_version_activated_at} => Time
|
1298
1333
|
#
|
1299
1334
|
# @example Request syntax with placeholder values
|
1300
1335
|
#
|
@@ -1318,7 +1353,7 @@ module Aws::LookoutEquipment
|
|
1318
1353
|
# resp.evaluation_data_end_time #=> Time
|
1319
1354
|
# resp.role_arn #=> String
|
1320
1355
|
# resp.data_pre_processing_configuration.target_sampling_rate #=> String, one of "PT1S", "PT5S", "PT10S", "PT15S", "PT30S", "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H"
|
1321
|
-
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
1356
|
+
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS"
|
1322
1357
|
# resp.training_execution_start_time #=> Time
|
1323
1358
|
# resp.training_execution_end_time #=> Time
|
1324
1359
|
# resp.failed_reason #=> String
|
@@ -1327,6 +1362,15 @@ module Aws::LookoutEquipment
|
|
1327
1362
|
# resp.created_at #=> Time
|
1328
1363
|
# resp.server_side_kms_key_id #=> String
|
1329
1364
|
# resp.off_condition #=> String
|
1365
|
+
# resp.source_model_version_arn #=> String
|
1366
|
+
# resp.import_job_start_time #=> Time
|
1367
|
+
# resp.import_job_end_time #=> Time
|
1368
|
+
# resp.active_model_version #=> Integer
|
1369
|
+
# resp.active_model_version_arn #=> String
|
1370
|
+
# resp.model_version_activated_at #=> Time
|
1371
|
+
# resp.previous_active_model_version #=> Integer
|
1372
|
+
# resp.previous_active_model_version_arn #=> String
|
1373
|
+
# resp.previous_model_version_activated_at #=> Time
|
1330
1374
|
#
|
1331
1375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel AWS API Documentation
|
1332
1376
|
#
|
@@ -1337,6 +1381,277 @@ module Aws::LookoutEquipment
|
|
1337
1381
|
req.send_request(options)
|
1338
1382
|
end
|
1339
1383
|
|
1384
|
+
# Retrieves information about a specific machine learning model version.
|
1385
|
+
#
|
1386
|
+
# @option params [required, String] :model_name
|
1387
|
+
# The name of the machine learning model that this version belongs to.
|
1388
|
+
#
|
1389
|
+
# @option params [required, Integer] :model_version
|
1390
|
+
# The version of the machine learning model.
|
1391
|
+
#
|
1392
|
+
# @return [Types::DescribeModelVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1393
|
+
#
|
1394
|
+
# * {Types::DescribeModelVersionResponse#model_name #model_name} => String
|
1395
|
+
# * {Types::DescribeModelVersionResponse#model_arn #model_arn} => String
|
1396
|
+
# * {Types::DescribeModelVersionResponse#model_version #model_version} => Integer
|
1397
|
+
# * {Types::DescribeModelVersionResponse#model_version_arn #model_version_arn} => String
|
1398
|
+
# * {Types::DescribeModelVersionResponse#status #status} => String
|
1399
|
+
# * {Types::DescribeModelVersionResponse#source_type #source_type} => String
|
1400
|
+
# * {Types::DescribeModelVersionResponse#dataset_name #dataset_name} => String
|
1401
|
+
# * {Types::DescribeModelVersionResponse#dataset_arn #dataset_arn} => String
|
1402
|
+
# * {Types::DescribeModelVersionResponse#schema #schema} => String
|
1403
|
+
# * {Types::DescribeModelVersionResponse#labels_input_configuration #labels_input_configuration} => Types::LabelsInputConfiguration
|
1404
|
+
# * {Types::DescribeModelVersionResponse#training_data_start_time #training_data_start_time} => Time
|
1405
|
+
# * {Types::DescribeModelVersionResponse#training_data_end_time #training_data_end_time} => Time
|
1406
|
+
# * {Types::DescribeModelVersionResponse#evaluation_data_start_time #evaluation_data_start_time} => Time
|
1407
|
+
# * {Types::DescribeModelVersionResponse#evaluation_data_end_time #evaluation_data_end_time} => Time
|
1408
|
+
# * {Types::DescribeModelVersionResponse#role_arn #role_arn} => String
|
1409
|
+
# * {Types::DescribeModelVersionResponse#data_pre_processing_configuration #data_pre_processing_configuration} => Types::DataPreProcessingConfiguration
|
1410
|
+
# * {Types::DescribeModelVersionResponse#training_execution_start_time #training_execution_start_time} => Time
|
1411
|
+
# * {Types::DescribeModelVersionResponse#training_execution_end_time #training_execution_end_time} => Time
|
1412
|
+
# * {Types::DescribeModelVersionResponse#failed_reason #failed_reason} => String
|
1413
|
+
# * {Types::DescribeModelVersionResponse#model_metrics #model_metrics} => String
|
1414
|
+
# * {Types::DescribeModelVersionResponse#last_updated_time #last_updated_time} => Time
|
1415
|
+
# * {Types::DescribeModelVersionResponse#created_at #created_at} => Time
|
1416
|
+
# * {Types::DescribeModelVersionResponse#server_side_kms_key_id #server_side_kms_key_id} => String
|
1417
|
+
# * {Types::DescribeModelVersionResponse#off_condition #off_condition} => String
|
1418
|
+
# * {Types::DescribeModelVersionResponse#source_model_version_arn #source_model_version_arn} => String
|
1419
|
+
# * {Types::DescribeModelVersionResponse#import_job_start_time #import_job_start_time} => Time
|
1420
|
+
# * {Types::DescribeModelVersionResponse#import_job_end_time #import_job_end_time} => Time
|
1421
|
+
# * {Types::DescribeModelVersionResponse#imported_data_size_in_bytes #imported_data_size_in_bytes} => Integer
|
1422
|
+
#
|
1423
|
+
# @example Request syntax with placeholder values
|
1424
|
+
#
|
1425
|
+
# resp = client.describe_model_version({
|
1426
|
+
# model_name: "ModelName", # required
|
1427
|
+
# model_version: 1, # required
|
1428
|
+
# })
|
1429
|
+
#
|
1430
|
+
# @example Response structure
|
1431
|
+
#
|
1432
|
+
# resp.model_name #=> String
|
1433
|
+
# resp.model_arn #=> String
|
1434
|
+
# resp.model_version #=> Integer
|
1435
|
+
# resp.model_version_arn #=> String
|
1436
|
+
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS", "CANCELED"
|
1437
|
+
# resp.source_type #=> String, one of "TRAINING", "RETRAINING", "IMPORT"
|
1438
|
+
# resp.dataset_name #=> String
|
1439
|
+
# resp.dataset_arn #=> String
|
1440
|
+
# resp.schema #=> String
|
1441
|
+
# resp.labels_input_configuration.s3_input_configuration.bucket #=> String
|
1442
|
+
# resp.labels_input_configuration.s3_input_configuration.prefix #=> String
|
1443
|
+
# resp.labels_input_configuration.label_group_name #=> String
|
1444
|
+
# resp.training_data_start_time #=> Time
|
1445
|
+
# resp.training_data_end_time #=> Time
|
1446
|
+
# resp.evaluation_data_start_time #=> Time
|
1447
|
+
# resp.evaluation_data_end_time #=> Time
|
1448
|
+
# resp.role_arn #=> String
|
1449
|
+
# resp.data_pre_processing_configuration.target_sampling_rate #=> String, one of "PT1S", "PT5S", "PT10S", "PT15S", "PT30S", "PT1M", "PT5M", "PT10M", "PT15M", "PT30M", "PT1H"
|
1450
|
+
# resp.training_execution_start_time #=> Time
|
1451
|
+
# resp.training_execution_end_time #=> Time
|
1452
|
+
# resp.failed_reason #=> String
|
1453
|
+
# resp.model_metrics #=> String
|
1454
|
+
# resp.last_updated_time #=> Time
|
1455
|
+
# resp.created_at #=> Time
|
1456
|
+
# resp.server_side_kms_key_id #=> String
|
1457
|
+
# resp.off_condition #=> String
|
1458
|
+
# resp.source_model_version_arn #=> String
|
1459
|
+
# resp.import_job_start_time #=> Time
|
1460
|
+
# resp.import_job_end_time #=> Time
|
1461
|
+
# resp.imported_data_size_in_bytes #=> Integer
|
1462
|
+
#
|
1463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModelVersion AWS API Documentation
|
1464
|
+
#
|
1465
|
+
# @overload describe_model_version(params = {})
|
1466
|
+
# @param [Hash] params ({})
|
1467
|
+
def describe_model_version(params = {}, options = {})
|
1468
|
+
req = build_request(:describe_model_version, params)
|
1469
|
+
req.send_request(options)
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
# Provides the details of a resource policy attached to a resource.
|
1473
|
+
#
|
1474
|
+
# @option params [required, String] :resource_arn
|
1475
|
+
# The Amazon Resource Name (ARN) of the resource that is associated with
|
1476
|
+
# the resource policy.
|
1477
|
+
#
|
1478
|
+
# @return [Types::DescribeResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1479
|
+
#
|
1480
|
+
# * {Types::DescribeResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
|
1481
|
+
# * {Types::DescribeResourcePolicyResponse#resource_policy #resource_policy} => String
|
1482
|
+
# * {Types::DescribeResourcePolicyResponse#creation_time #creation_time} => Time
|
1483
|
+
# * {Types::DescribeResourcePolicyResponse#last_modified_time #last_modified_time} => Time
|
1484
|
+
#
|
1485
|
+
# @example Request syntax with placeholder values
|
1486
|
+
#
|
1487
|
+
# resp = client.describe_resource_policy({
|
1488
|
+
# resource_arn: "ResourceArn", # required
|
1489
|
+
# })
|
1490
|
+
#
|
1491
|
+
# @example Response structure
|
1492
|
+
#
|
1493
|
+
# resp.policy_revision_id #=> String
|
1494
|
+
# resp.resource_policy #=> String
|
1495
|
+
# resp.creation_time #=> Time
|
1496
|
+
# resp.last_modified_time #=> Time
|
1497
|
+
#
|
1498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeResourcePolicy AWS API Documentation
|
1499
|
+
#
|
1500
|
+
# @overload describe_resource_policy(params = {})
|
1501
|
+
# @param [Hash] params ({})
|
1502
|
+
def describe_resource_policy(params = {}, options = {})
|
1503
|
+
req = build_request(:describe_resource_policy, params)
|
1504
|
+
req.send_request(options)
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
# Imports a dataset.
|
1508
|
+
#
|
1509
|
+
# @option params [required, String] :source_dataset_arn
|
1510
|
+
# The Amazon Resource Name (ARN) of the dataset to import.
|
1511
|
+
#
|
1512
|
+
# @option params [String] :dataset_name
|
1513
|
+
# The name of the machine learning dataset to be created. If the dataset
|
1514
|
+
# already exists, Amazon Lookout for Equipment overwrites the existing
|
1515
|
+
# dataset. If you don't specify this field, it is filled with the name
|
1516
|
+
# of the source dataset.
|
1517
|
+
#
|
1518
|
+
# @option params [required, String] :client_token
|
1519
|
+
# A unique identifier for the request. If you do not set the client
|
1520
|
+
# request token, Amazon Lookout for Equipment generates one.
|
1521
|
+
#
|
1522
|
+
# **A suitable default value is auto-generated.** You should normally
|
1523
|
+
# not need to pass this option.**
|
1524
|
+
#
|
1525
|
+
# @option params [String] :server_side_kms_key_id
|
1526
|
+
# Provides the identifier of the KMS key key used to encrypt model data
|
1527
|
+
# by Amazon Lookout for Equipment.
|
1528
|
+
#
|
1529
|
+
# @option params [Array<Types::Tag>] :tags
|
1530
|
+
# Any tags associated with the dataset to be created.
|
1531
|
+
#
|
1532
|
+
# @return [Types::ImportDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1533
|
+
#
|
1534
|
+
# * {Types::ImportDatasetResponse#dataset_name #dataset_name} => String
|
1535
|
+
# * {Types::ImportDatasetResponse#dataset_arn #dataset_arn} => String
|
1536
|
+
# * {Types::ImportDatasetResponse#status #status} => String
|
1537
|
+
# * {Types::ImportDatasetResponse#job_id #job_id} => String
|
1538
|
+
#
|
1539
|
+
# @example Request syntax with placeholder values
|
1540
|
+
#
|
1541
|
+
# resp = client.import_dataset({
|
1542
|
+
# source_dataset_arn: "DatasetArn", # required
|
1543
|
+
# dataset_name: "DatasetName",
|
1544
|
+
# client_token: "IdempotenceToken", # required
|
1545
|
+
# server_side_kms_key_id: "NameOrArn",
|
1546
|
+
# tags: [
|
1547
|
+
# {
|
1548
|
+
# key: "TagKey", # required
|
1549
|
+
# value: "TagValue", # required
|
1550
|
+
# },
|
1551
|
+
# ],
|
1552
|
+
# })
|
1553
|
+
#
|
1554
|
+
# @example Response structure
|
1555
|
+
#
|
1556
|
+
# resp.dataset_name #=> String
|
1557
|
+
# resp.dataset_arn #=> String
|
1558
|
+
# resp.status #=> String, one of "CREATED", "INGESTION_IN_PROGRESS", "ACTIVE", "IMPORT_IN_PROGRESS"
|
1559
|
+
# resp.job_id #=> String
|
1560
|
+
#
|
1561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ImportDataset AWS API Documentation
|
1562
|
+
#
|
1563
|
+
# @overload import_dataset(params = {})
|
1564
|
+
# @param [Hash] params ({})
|
1565
|
+
def import_dataset(params = {}, options = {})
|
1566
|
+
req = build_request(:import_dataset, params)
|
1567
|
+
req.send_request(options)
|
1568
|
+
end
|
1569
|
+
|
1570
|
+
# Imports a model that has been trained successfully.
|
1571
|
+
#
|
1572
|
+
# @option params [required, String] :source_model_version_arn
|
1573
|
+
# The Amazon Resource Name (ARN) of the model version to import.
|
1574
|
+
#
|
1575
|
+
# @option params [String] :model_name
|
1576
|
+
# The name for the machine learning model to be created. If the model
|
1577
|
+
# already exists, Amazon Lookout for Equipment creates a new version. If
|
1578
|
+
# you do not specify this field, it is filled with the name of the
|
1579
|
+
# source model.
|
1580
|
+
#
|
1581
|
+
# @option params [required, String] :dataset_name
|
1582
|
+
# The name of the dataset for the machine learning model being imported.
|
1583
|
+
#
|
1584
|
+
# @option params [Types::LabelsInputConfiguration] :labels_input_configuration
|
1585
|
+
# Contains the configuration information for the S3 location being used
|
1586
|
+
# to hold label data.
|
1587
|
+
#
|
1588
|
+
# @option params [required, String] :client_token
|
1589
|
+
# A unique identifier for the request. If you do not set the client
|
1590
|
+
# request token, Amazon Lookout for Equipment generates one.
|
1591
|
+
#
|
1592
|
+
# **A suitable default value is auto-generated.** You should normally
|
1593
|
+
# not need to pass this option.**
|
1594
|
+
#
|
1595
|
+
# @option params [String] :role_arn
|
1596
|
+
# The Amazon Resource Name (ARN) of a role with permission to access the
|
1597
|
+
# data source being used to create the machine learning model.
|
1598
|
+
#
|
1599
|
+
# @option params [String] :server_side_kms_key_id
|
1600
|
+
# Provides the identifier of the KMS key key used to encrypt model data
|
1601
|
+
# by Amazon Lookout for Equipment.
|
1602
|
+
#
|
1603
|
+
# @option params [Array<Types::Tag>] :tags
|
1604
|
+
# The tags associated with the machine learning model to be created.
|
1605
|
+
#
|
1606
|
+
# @return [Types::ImportModelVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1607
|
+
#
|
1608
|
+
# * {Types::ImportModelVersionResponse#model_name #model_name} => String
|
1609
|
+
# * {Types::ImportModelVersionResponse#model_arn #model_arn} => String
|
1610
|
+
# * {Types::ImportModelVersionResponse#model_version_arn #model_version_arn} => String
|
1611
|
+
# * {Types::ImportModelVersionResponse#model_version #model_version} => Integer
|
1612
|
+
# * {Types::ImportModelVersionResponse#status #status} => String
|
1613
|
+
#
|
1614
|
+
# @example Request syntax with placeholder values
|
1615
|
+
#
|
1616
|
+
# resp = client.import_model_version({
|
1617
|
+
# source_model_version_arn: "ModelVersionArn", # required
|
1618
|
+
# model_name: "ModelName",
|
1619
|
+
# dataset_name: "DatasetIdentifier", # required
|
1620
|
+
# labels_input_configuration: {
|
1621
|
+
# s3_input_configuration: {
|
1622
|
+
# bucket: "S3Bucket", # required
|
1623
|
+
# prefix: "S3Prefix",
|
1624
|
+
# },
|
1625
|
+
# label_group_name: "LabelGroupName",
|
1626
|
+
# },
|
1627
|
+
# client_token: "IdempotenceToken", # required
|
1628
|
+
# role_arn: "IamRoleArn",
|
1629
|
+
# server_side_kms_key_id: "NameOrArn",
|
1630
|
+
# tags: [
|
1631
|
+
# {
|
1632
|
+
# key: "TagKey", # required
|
1633
|
+
# value: "TagValue", # required
|
1634
|
+
# },
|
1635
|
+
# ],
|
1636
|
+
# })
|
1637
|
+
#
|
1638
|
+
# @example Response structure
|
1639
|
+
#
|
1640
|
+
# resp.model_name #=> String
|
1641
|
+
# resp.model_arn #=> String
|
1642
|
+
# resp.model_version_arn #=> String
|
1643
|
+
# resp.model_version #=> Integer
|
1644
|
+
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS", "CANCELED"
|
1645
|
+
#
|
1646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ImportModelVersion AWS API Documentation
|
1647
|
+
#
|
1648
|
+
# @overload import_model_version(params = {})
|
1649
|
+
# @param [Hash] params ({})
|
1650
|
+
def import_model_version(params = {}, options = {})
|
1651
|
+
req = build_request(:import_model_version, params)
|
1652
|
+
req.send_request(options)
|
1653
|
+
end
|
1654
|
+
|
1340
1655
|
# Provides a list of all data ingestion jobs, including dataset name and
|
1341
1656
|
# ARN, S3 location of the input data, status, and so on.
|
1342
1657
|
#
|
@@ -1366,7 +1681,7 @@ module Aws::LookoutEquipment
|
|
1366
1681
|
# dataset_name: "DatasetName",
|
1367
1682
|
# next_token: "NextToken",
|
1368
1683
|
# max_results: 1,
|
1369
|
-
# status: "IN_PROGRESS", # accepts IN_PROGRESS, SUCCESS, FAILED
|
1684
|
+
# status: "IN_PROGRESS", # accepts IN_PROGRESS, SUCCESS, FAILED, IMPORT_IN_PROGRESS
|
1370
1685
|
# })
|
1371
1686
|
#
|
1372
1687
|
# @example Response structure
|
@@ -1379,7 +1694,7 @@ module Aws::LookoutEquipment
|
|
1379
1694
|
# resp.data_ingestion_job_summaries[0].ingestion_input_configuration.s3_input_configuration.bucket #=> String
|
1380
1695
|
# resp.data_ingestion_job_summaries[0].ingestion_input_configuration.s3_input_configuration.prefix #=> String
|
1381
1696
|
# resp.data_ingestion_job_summaries[0].ingestion_input_configuration.s3_input_configuration.key_pattern #=> String
|
1382
|
-
# resp.data_ingestion_job_summaries[0].status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
1697
|
+
# resp.data_ingestion_job_summaries[0].status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS"
|
1383
1698
|
#
|
1384
1699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs AWS API Documentation
|
1385
1700
|
#
|
@@ -1424,7 +1739,7 @@ module Aws::LookoutEquipment
|
|
1424
1739
|
# resp.dataset_summaries #=> Array
|
1425
1740
|
# resp.dataset_summaries[0].dataset_name #=> String
|
1426
1741
|
# resp.dataset_summaries[0].dataset_arn #=> String
|
1427
|
-
# resp.dataset_summaries[0].status #=> String, one of "CREATED", "INGESTION_IN_PROGRESS", "ACTIVE"
|
1742
|
+
# resp.dataset_summaries[0].status #=> String, one of "CREATED", "INGESTION_IN_PROGRESS", "ACTIVE", "IMPORT_IN_PROGRESS"
|
1428
1743
|
# resp.dataset_summaries[0].created_at #=> Time
|
1429
1744
|
#
|
1430
1745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets AWS API Documentation
|
@@ -1455,7 +1770,7 @@ module Aws::LookoutEquipment
|
|
1455
1770
|
#
|
1456
1771
|
# @option params [required, Time,DateTime,Date,Integer,String] :interval_end_time
|
1457
1772
|
# Returns all the inference events with an end start time equal to or
|
1458
|
-
# greater than less than the end time given
|
1773
|
+
# greater than less than the end time given.
|
1459
1774
|
#
|
1460
1775
|
# @return [Types::ListInferenceEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1461
1776
|
#
|
@@ -1587,7 +1902,7 @@ module Aws::LookoutEquipment
|
|
1587
1902
|
# The name of the ML model used by the inference scheduler to be listed.
|
1588
1903
|
#
|
1589
1904
|
# @option params [String] :status
|
1590
|
-
# Specifies the current status of the inference schedulers
|
1905
|
+
# Specifies the current status of the inference schedulers.
|
1591
1906
|
#
|
1592
1907
|
# @return [Types::ListInferenceSchedulersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1593
1908
|
#
|
@@ -1740,6 +2055,87 @@ module Aws::LookoutEquipment
|
|
1740
2055
|
req.send_request(options)
|
1741
2056
|
end
|
1742
2057
|
|
2058
|
+
# Generates a list of all model versions for a given model, including
|
2059
|
+
# the model version, model version ARN, and status. To list a subset of
|
2060
|
+
# versions, use the `MaxModelVersion` and `MinModelVersion` fields.
|
2061
|
+
#
|
2062
|
+
# @option params [required, String] :model_name
|
2063
|
+
# Then name of the machine learning model for which the model versions
|
2064
|
+
# are to be listed.
|
2065
|
+
#
|
2066
|
+
# @option params [String] :next_token
|
2067
|
+
# If the total number of results exceeds the limit that the response can
|
2068
|
+
# display, the response returns an opaque pagination token indicating
|
2069
|
+
# where to continue the listing of machine learning model versions. Use
|
2070
|
+
# this token in the `NextToken` field in the request to list the next
|
2071
|
+
# page of results.
|
2072
|
+
#
|
2073
|
+
# @option params [Integer] :max_results
|
2074
|
+
# Specifies the maximum number of machine learning model versions to
|
2075
|
+
# list.
|
2076
|
+
#
|
2077
|
+
# @option params [String] :status
|
2078
|
+
# Filter the results based on the current status of the model version.
|
2079
|
+
#
|
2080
|
+
# @option params [String] :source_type
|
2081
|
+
# Filter the results based on the way the model version was generated.
|
2082
|
+
#
|
2083
|
+
# @option params [Time,DateTime,Date,Integer,String] :created_at_end_time
|
2084
|
+
# Filter results to return all the model versions created before this
|
2085
|
+
# time.
|
2086
|
+
#
|
2087
|
+
# @option params [Time,DateTime,Date,Integer,String] :created_at_start_time
|
2088
|
+
# Filter results to return all the model versions created after this
|
2089
|
+
# time.
|
2090
|
+
#
|
2091
|
+
# @option params [Integer] :max_model_version
|
2092
|
+
# Specifies the highest version of the model to return in the list.
|
2093
|
+
#
|
2094
|
+
# @option params [Integer] :min_model_version
|
2095
|
+
# Specifies the lowest version of the model to return in the list.
|
2096
|
+
#
|
2097
|
+
# @return [Types::ListModelVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2098
|
+
#
|
2099
|
+
# * {Types::ListModelVersionsResponse#next_token #next_token} => String
|
2100
|
+
# * {Types::ListModelVersionsResponse#model_version_summaries #model_version_summaries} => Array<Types::ModelVersionSummary>
|
2101
|
+
#
|
2102
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2103
|
+
#
|
2104
|
+
# @example Request syntax with placeholder values
|
2105
|
+
#
|
2106
|
+
# resp = client.list_model_versions({
|
2107
|
+
# model_name: "ModelName", # required
|
2108
|
+
# next_token: "NextToken",
|
2109
|
+
# max_results: 1,
|
2110
|
+
# status: "IN_PROGRESS", # accepts IN_PROGRESS, SUCCESS, FAILED, IMPORT_IN_PROGRESS, CANCELED
|
2111
|
+
# source_type: "TRAINING", # accepts TRAINING, RETRAINING, IMPORT
|
2112
|
+
# created_at_end_time: Time.now,
|
2113
|
+
# created_at_start_time: Time.now,
|
2114
|
+
# max_model_version: 1,
|
2115
|
+
# min_model_version: 1,
|
2116
|
+
# })
|
2117
|
+
#
|
2118
|
+
# @example Response structure
|
2119
|
+
#
|
2120
|
+
# resp.next_token #=> String
|
2121
|
+
# resp.model_version_summaries #=> Array
|
2122
|
+
# resp.model_version_summaries[0].model_name #=> String
|
2123
|
+
# resp.model_version_summaries[0].model_arn #=> String
|
2124
|
+
# resp.model_version_summaries[0].model_version #=> Integer
|
2125
|
+
# resp.model_version_summaries[0].model_version_arn #=> String
|
2126
|
+
# resp.model_version_summaries[0].created_at #=> Time
|
2127
|
+
# resp.model_version_summaries[0].status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS", "CANCELED"
|
2128
|
+
# resp.model_version_summaries[0].source_type #=> String, one of "TRAINING", "RETRAINING", "IMPORT"
|
2129
|
+
#
|
2130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModelVersions AWS API Documentation
|
2131
|
+
#
|
2132
|
+
# @overload list_model_versions(params = {})
|
2133
|
+
# @param [Hash] params ({})
|
2134
|
+
def list_model_versions(params = {}, options = {})
|
2135
|
+
req = build_request(:list_model_versions, params)
|
2136
|
+
req.send_request(options)
|
2137
|
+
end
|
2138
|
+
|
1743
2139
|
# Generates a list of all models in the account, including model name
|
1744
2140
|
# and ARN, dataset, and status.
|
1745
2141
|
#
|
@@ -1772,7 +2168,7 @@ module Aws::LookoutEquipment
|
|
1772
2168
|
# resp = client.list_models({
|
1773
2169
|
# next_token: "NextToken",
|
1774
2170
|
# max_results: 1,
|
1775
|
-
# status: "IN_PROGRESS", # accepts IN_PROGRESS, SUCCESS, FAILED
|
2171
|
+
# status: "IN_PROGRESS", # accepts IN_PROGRESS, SUCCESS, FAILED, IMPORT_IN_PROGRESS
|
1776
2172
|
# model_name_begins_with: "ModelName",
|
1777
2173
|
# dataset_name_begins_with: "DatasetName",
|
1778
2174
|
# })
|
@@ -1785,8 +2181,10 @@ module Aws::LookoutEquipment
|
|
1785
2181
|
# resp.model_summaries[0].model_arn #=> String
|
1786
2182
|
# resp.model_summaries[0].dataset_name #=> String
|
1787
2183
|
# resp.model_summaries[0].dataset_arn #=> String
|
1788
|
-
# resp.model_summaries[0].status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
2184
|
+
# resp.model_summaries[0].status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS"
|
1789
2185
|
# resp.model_summaries[0].created_at #=> Time
|
2186
|
+
# resp.model_summaries[0].active_model_version #=> Integer
|
2187
|
+
# resp.model_summaries[0].active_model_version_arn #=> String
|
1790
2188
|
#
|
1791
2189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels AWS API Documentation
|
1792
2190
|
#
|
@@ -1899,6 +2297,53 @@ module Aws::LookoutEquipment
|
|
1899
2297
|
req.send_request(options)
|
1900
2298
|
end
|
1901
2299
|
|
2300
|
+
# Creates a resource control policy for a given resource.
|
2301
|
+
#
|
2302
|
+
# @option params [required, String] :resource_arn
|
2303
|
+
# The Amazon Resource Name (ARN) of the resource for which the policy is
|
2304
|
+
# being created.
|
2305
|
+
#
|
2306
|
+
# @option params [required, String] :resource_policy
|
2307
|
+
# The JSON-formatted resource policy to create.
|
2308
|
+
#
|
2309
|
+
# @option params [String] :policy_revision_id
|
2310
|
+
# A unique identifier for a revision of the resource policy.
|
2311
|
+
#
|
2312
|
+
# @option params [required, String] :client_token
|
2313
|
+
# A unique identifier for the request. If you do not set the client
|
2314
|
+
# request token, Amazon Lookout for Equipment generates one.
|
2315
|
+
#
|
2316
|
+
# **A suitable default value is auto-generated.** You should normally
|
2317
|
+
# not need to pass this option.**
|
2318
|
+
#
|
2319
|
+
# @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2320
|
+
#
|
2321
|
+
# * {Types::PutResourcePolicyResponse#resource_arn #resource_arn} => String
|
2322
|
+
# * {Types::PutResourcePolicyResponse#policy_revision_id #policy_revision_id} => String
|
2323
|
+
#
|
2324
|
+
# @example Request syntax with placeholder values
|
2325
|
+
#
|
2326
|
+
# resp = client.put_resource_policy({
|
2327
|
+
# resource_arn: "ResourceArn", # required
|
2328
|
+
# resource_policy: "Policy", # required
|
2329
|
+
# policy_revision_id: "PolicyRevisionId",
|
2330
|
+
# client_token: "IdempotenceToken", # required
|
2331
|
+
# })
|
2332
|
+
#
|
2333
|
+
# @example Response structure
|
2334
|
+
#
|
2335
|
+
# resp.resource_arn #=> String
|
2336
|
+
# resp.policy_revision_id #=> String
|
2337
|
+
#
|
2338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/PutResourcePolicy AWS API Documentation
|
2339
|
+
#
|
2340
|
+
# @overload put_resource_policy(params = {})
|
2341
|
+
# @param [Hash] params ({})
|
2342
|
+
def put_resource_policy(params = {}, options = {})
|
2343
|
+
req = build_request(:put_resource_policy, params)
|
2344
|
+
req.send_request(options)
|
2345
|
+
end
|
2346
|
+
|
1902
2347
|
# Starts a data ingestion job. Amazon Lookout for Equipment returns the
|
1903
2348
|
# job status.
|
1904
2349
|
#
|
@@ -1943,7 +2388,7 @@ module Aws::LookoutEquipment
|
|
1943
2388
|
# @example Response structure
|
1944
2389
|
#
|
1945
2390
|
# resp.job_id #=> String
|
1946
|
-
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED"
|
2391
|
+
# resp.status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILED", "IMPORT_IN_PROGRESS"
|
1947
2392
|
#
|
1948
2393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob AWS API Documentation
|
1949
2394
|
#
|
@@ -2092,6 +2537,50 @@ module Aws::LookoutEquipment
|
|
2092
2537
|
req.send_request(options)
|
2093
2538
|
end
|
2094
2539
|
|
2540
|
+
# Sets the active model version for a given machine learning model.
|
2541
|
+
#
|
2542
|
+
# @option params [required, String] :model_name
|
2543
|
+
# The name of the machine learning model for which the active model
|
2544
|
+
# version is being set.
|
2545
|
+
#
|
2546
|
+
# @option params [required, Integer] :model_version
|
2547
|
+
# The version of the machine learning model for which the active model
|
2548
|
+
# version is being set.
|
2549
|
+
#
|
2550
|
+
# @return [Types::UpdateActiveModelVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2551
|
+
#
|
2552
|
+
# * {Types::UpdateActiveModelVersionResponse#model_name #model_name} => String
|
2553
|
+
# * {Types::UpdateActiveModelVersionResponse#model_arn #model_arn} => String
|
2554
|
+
# * {Types::UpdateActiveModelVersionResponse#current_active_version #current_active_version} => Integer
|
2555
|
+
# * {Types::UpdateActiveModelVersionResponse#previous_active_version #previous_active_version} => Integer
|
2556
|
+
# * {Types::UpdateActiveModelVersionResponse#current_active_version_arn #current_active_version_arn} => String
|
2557
|
+
# * {Types::UpdateActiveModelVersionResponse#previous_active_version_arn #previous_active_version_arn} => String
|
2558
|
+
#
|
2559
|
+
# @example Request syntax with placeholder values
|
2560
|
+
#
|
2561
|
+
# resp = client.update_active_model_version({
|
2562
|
+
# model_name: "ModelName", # required
|
2563
|
+
# model_version: 1, # required
|
2564
|
+
# })
|
2565
|
+
#
|
2566
|
+
# @example Response structure
|
2567
|
+
#
|
2568
|
+
# resp.model_name #=> String
|
2569
|
+
# resp.model_arn #=> String
|
2570
|
+
# resp.current_active_version #=> Integer
|
2571
|
+
# resp.previous_active_version #=> Integer
|
2572
|
+
# resp.current_active_version_arn #=> String
|
2573
|
+
# resp.previous_active_version_arn #=> String
|
2574
|
+
#
|
2575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateActiveModelVersion AWS API Documentation
|
2576
|
+
#
|
2577
|
+
# @overload update_active_model_version(params = {})
|
2578
|
+
# @param [Hash] params ({})
|
2579
|
+
def update_active_model_version(params = {}, options = {})
|
2580
|
+
req = build_request(:update_active_model_version, params)
|
2581
|
+
req.send_request(options)
|
2582
|
+
end
|
2583
|
+
|
2095
2584
|
# Updates an inference scheduler.
|
2096
2585
|
#
|
2097
2586
|
# @option params [required, String] :inference_scheduler_name
|
@@ -2210,7 +2699,7 @@ module Aws::LookoutEquipment
|
|
2210
2699
|
params: params,
|
2211
2700
|
config: config)
|
2212
2701
|
context[:gem_name] = 'aws-sdk-lookoutequipment'
|
2213
|
-
context[:gem_version] = '1.
|
2702
|
+
context[:gem_version] = '1.22.0'
|
2214
2703
|
Seahorse::Client::Request.new(handlers, context)
|
2215
2704
|
end
|
2216
2705
|
|