aws-sdk-cleanroomsml 1.9.0 → 1.11.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-cleanroomsml/client.rb +283 -253
- data/lib/aws-sdk-cleanroomsml/client_api.rb +109 -92
- data/lib/aws-sdk-cleanroomsml/types.rb +513 -475
- data/lib/aws-sdk-cleanroomsml/waiters.rb +15 -0
- data/lib/aws-sdk-cleanroomsml.rb +2 -1
- data/sig/client.rbs +95 -88
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +100 -91
- metadata +7 -6
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::CleanRoomsML
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::CleanRoomsML::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::CleanRoomsML
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -431,17 +443,24 @@ module Aws::CleanRoomsML
|
|
431
443
|
# and storing the audience model. The audience model can be used in
|
432
444
|
# multiple calls to the StartAudienceGenerationJob API.
|
433
445
|
#
|
434
|
-
# @option params [String] :
|
435
|
-
# The
|
446
|
+
# @option params [Time,DateTime,Date,Integer,String] :training_data_start_time
|
447
|
+
# The start date and time of the training window.
|
448
|
+
#
|
449
|
+
# @option params [Time,DateTime,Date,Integer,String] :training_data_end_time
|
450
|
+
# The end date and time of the training window.
|
451
|
+
#
|
452
|
+
# @option params [required, String] :name
|
453
|
+
# The name of the audience model resource.
|
454
|
+
#
|
455
|
+
# @option params [required, String] :training_dataset_arn
|
456
|
+
# The Amazon Resource Name (ARN) of the training dataset for this
|
457
|
+
# audience model.
|
436
458
|
#
|
437
459
|
# @option params [String] :kms_key_arn
|
438
460
|
# The Amazon Resource Name (ARN) of the KMS key. This key is used to
|
439
461
|
# encrypt and decrypt customer-owned data in the trained ML model and
|
440
462
|
# the associated data.
|
441
463
|
#
|
442
|
-
# @option params [required, String] :name
|
443
|
-
# The name of the audience model resource.
|
444
|
-
#
|
445
464
|
# @option params [Hash<String,String>] :tags
|
446
465
|
# The optional metadata that you apply to the resource to help you
|
447
466
|
# categorize and organize them. Each tag consists of a key and an
|
@@ -474,15 +493,8 @@ module Aws::CleanRoomsML
|
|
474
493
|
# limit of 50 tags. Tags with only the key prefix of aws do not count
|
475
494
|
# against your tags per resource limit.
|
476
495
|
#
|
477
|
-
# @option params [
|
478
|
-
# The
|
479
|
-
#
|
480
|
-
# @option params [Time,DateTime,Date,Integer,String] :training_data_start_time
|
481
|
-
# The start date and time of the training window.
|
482
|
-
#
|
483
|
-
# @option params [required, String] :training_dataset_arn
|
484
|
-
# The Amazon Resource Name (ARN) of the training dataset for this
|
485
|
-
# audience model.
|
496
|
+
# @option params [String] :description
|
497
|
+
# The description of the audience model.
|
486
498
|
#
|
487
499
|
# @return [Types::CreateAudienceModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
488
500
|
#
|
@@ -491,15 +503,15 @@ module Aws::CleanRoomsML
|
|
491
503
|
# @example Request syntax with placeholder values
|
492
504
|
#
|
493
505
|
# resp = client.create_audience_model({
|
494
|
-
#
|
495
|
-
#
|
506
|
+
# training_data_start_time: Time.now,
|
507
|
+
# training_data_end_time: Time.now,
|
496
508
|
# name: "NameString", # required
|
509
|
+
# training_dataset_arn: "TrainingDatasetArn", # required
|
510
|
+
# kms_key_arn: "KmsKeyArn",
|
497
511
|
# tags: {
|
498
512
|
# "TagKey" => "TagValue",
|
499
513
|
# },
|
500
|
-
#
|
501
|
-
# training_data_start_time: Time.now,
|
502
|
-
# training_dataset_arn: "TrainingDatasetArn", # required
|
514
|
+
# description: "ResourceDescription",
|
503
515
|
# })
|
504
516
|
#
|
505
517
|
# @example Response structure
|
@@ -518,43 +530,13 @@ module Aws::CleanRoomsML
|
|
518
530
|
# Defines the information necessary to create a configured audience
|
519
531
|
# model.
|
520
532
|
#
|
533
|
+
# @option params [required, String] :name
|
534
|
+
# The name of the configured audience model.
|
535
|
+
#
|
521
536
|
# @option params [required, String] :audience_model_arn
|
522
537
|
# The Amazon Resource Name (ARN) of the audience model to use for the
|
523
538
|
# configured audience model.
|
524
539
|
#
|
525
|
-
# @option params [Types::AudienceSizeConfig] :audience_size_config
|
526
|
-
# Configure the list of output sizes of audiences that can be created
|
527
|
-
# using this configured audience model. A request to
|
528
|
-
# StartAudienceGenerationJob that uses this configured audience model
|
529
|
-
# must have an `audienceSize` selected from this list. You can use the
|
530
|
-
# `ABSOLUTE` AudienceSize to configure out audience sizes using the
|
531
|
-
# count of identifiers in the output. You can use the `Percentage`
|
532
|
-
# AudienceSize to configure sizes in the range 1-100 percent.
|
533
|
-
#
|
534
|
-
# @option params [String] :child_resource_tag_on_create_policy
|
535
|
-
# Configure how the service tags audience generation jobs created using
|
536
|
-
# this configured audience model. If you specify `NONE`, the tags from
|
537
|
-
# the StartAudienceGenerationJob request determine the tags of the
|
538
|
-
# audience generation job. If you specify `FROM_PARENT_RESOURCE`, the
|
539
|
-
# audience generation job inherits the tags from the configured audience
|
540
|
-
# model, by default. Tags in the StartAudienceGenerationJob will
|
541
|
-
# override the default.
|
542
|
-
#
|
543
|
-
# When the client is in a different account than the configured audience
|
544
|
-
# model, the tags from the client are never applied to a resource in the
|
545
|
-
# caller's account.
|
546
|
-
#
|
547
|
-
# @option params [String] :description
|
548
|
-
# The description of the configured audience model.
|
549
|
-
#
|
550
|
-
# @option params [Integer] :min_matching_seed_size
|
551
|
-
# The minimum number of users from the seed audience that must match
|
552
|
-
# with users in the training data of the audience model. The default
|
553
|
-
# value is 500.
|
554
|
-
#
|
555
|
-
# @option params [required, String] :name
|
556
|
-
# The name of the configured audience model.
|
557
|
-
#
|
558
540
|
# @option params [required, Types::ConfiguredAudienceModelOutputConfig] :output_config
|
559
541
|
# Configure the Amazon S3 location and IAM Role for audiences created
|
560
542
|
# using this configured audience model. Each audience will have a unique
|
@@ -563,9 +545,26 @@ module Aws::CleanRoomsML
|
|
563
545
|
# Amazon S3 KMS-SSE, then the Role must also have the required KMS
|
564
546
|
# permissions.
|
565
547
|
#
|
548
|
+
# @option params [String] :description
|
549
|
+
# The description of the configured audience model.
|
550
|
+
#
|
566
551
|
# @option params [required, Array<String>] :shared_audience_metrics
|
567
552
|
# Whether audience metrics are shared.
|
568
553
|
#
|
554
|
+
# @option params [Integer] :min_matching_seed_size
|
555
|
+
# The minimum number of users from the seed audience that must match
|
556
|
+
# with users in the training data of the audience model. The default
|
557
|
+
# value is 500.
|
558
|
+
#
|
559
|
+
# @option params [Types::AudienceSizeConfig] :audience_size_config
|
560
|
+
# Configure the list of output sizes of audiences that can be created
|
561
|
+
# using this configured audience model. A request to
|
562
|
+
# StartAudienceGenerationJob that uses this configured audience model
|
563
|
+
# must have an `audienceSize` selected from this list. You can use the
|
564
|
+
# `ABSOLUTE` AudienceSize to configure out audience sizes using the
|
565
|
+
# count of identifiers in the output. You can use the `Percentage`
|
566
|
+
# AudienceSize to configure sizes in the range 1-100 percent.
|
567
|
+
#
|
569
568
|
# @option params [Hash<String,String>] :tags
|
570
569
|
# The optional metadata that you apply to the resource to help you
|
571
570
|
# categorize and organize them. Each tag consists of a key and an
|
@@ -598,6 +597,19 @@ module Aws::CleanRoomsML
|
|
598
597
|
# limit of 50 tags. Tags with only the key prefix of aws do not count
|
599
598
|
# against your tags per resource limit.
|
600
599
|
#
|
600
|
+
# @option params [String] :child_resource_tag_on_create_policy
|
601
|
+
# Configure how the service tags audience generation jobs created using
|
602
|
+
# this configured audience model. If you specify `NONE`, the tags from
|
603
|
+
# the StartAudienceGenerationJob request determine the tags of the
|
604
|
+
# audience generation job. If you specify `FROM_PARENT_RESOURCE`, the
|
605
|
+
# audience generation job inherits the tags from the configured audience
|
606
|
+
# model, by default. Tags in the StartAudienceGenerationJob will
|
607
|
+
# override the default.
|
608
|
+
#
|
609
|
+
# When the client is in a different account than the configured audience
|
610
|
+
# model, the tags from the client are never applied to a resource in the
|
611
|
+
# caller's account.
|
612
|
+
#
|
601
613
|
# @return [Types::CreateConfiguredAudienceModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
602
614
|
#
|
603
615
|
# * {Types::CreateConfiguredAudienceModelResponse#configured_audience_model_arn #configured_audience_model_arn} => String
|
@@ -605,15 +617,8 @@ module Aws::CleanRoomsML
|
|
605
617
|
# @example Request syntax with placeholder values
|
606
618
|
#
|
607
619
|
# resp = client.create_configured_audience_model({
|
608
|
-
# audience_model_arn: "AudienceModelArn", # required
|
609
|
-
# audience_size_config: {
|
610
|
-
# audience_size_bins: [1], # required
|
611
|
-
# audience_size_type: "ABSOLUTE", # required, accepts ABSOLUTE, PERCENTAGE
|
612
|
-
# },
|
613
|
-
# child_resource_tag_on_create_policy: "FROM_PARENT_RESOURCE", # accepts FROM_PARENT_RESOURCE, NONE
|
614
|
-
# description: "ResourceDescription",
|
615
|
-
# min_matching_seed_size: 1,
|
616
620
|
# name: "NameString", # required
|
621
|
+
# audience_model_arn: "AudienceModelArn", # required
|
617
622
|
# output_config: { # required
|
618
623
|
# destination: { # required
|
619
624
|
# s3_destination: { # required
|
@@ -622,10 +627,17 @@ module Aws::CleanRoomsML
|
|
622
627
|
# },
|
623
628
|
# role_arn: "IamRoleArn", # required
|
624
629
|
# },
|
630
|
+
# description: "ResourceDescription",
|
625
631
|
# shared_audience_metrics: ["ALL"], # required, accepts ALL, NONE
|
632
|
+
# min_matching_seed_size: 1,
|
633
|
+
# audience_size_config: {
|
634
|
+
# audience_size_type: "ABSOLUTE", # required, accepts ABSOLUTE, PERCENTAGE
|
635
|
+
# audience_size_bins: [1], # required
|
636
|
+
# },
|
626
637
|
# tags: {
|
627
638
|
# "TagKey" => "TagValue",
|
628
639
|
# },
|
640
|
+
# child_resource_tag_on_create_policy: "FROM_PARENT_RESOURCE", # accepts FROM_PARENT_RESOURCE, NONE
|
629
641
|
# })
|
630
642
|
#
|
631
643
|
# @example Response structure
|
@@ -645,9 +657,6 @@ module Aws::CleanRoomsML
|
|
645
657
|
# Clean Rooms ML, the `TrainingDataset` is metadata that points to a
|
646
658
|
# Glue table, which is read only during `AudienceModel` creation.
|
647
659
|
#
|
648
|
-
# @option params [String] :description
|
649
|
-
# The description of the training dataset.
|
650
|
-
#
|
651
660
|
# @option params [required, String] :name
|
652
661
|
# The name of the training dataset. This name must be unique in your
|
653
662
|
# account and region.
|
@@ -659,6 +668,11 @@ module Aws::CleanRoomsML
|
|
659
668
|
# Passing a role across AWS accounts is not allowed. If you pass a role
|
660
669
|
# that isn't in your account, you get an `AccessDeniedException` error.
|
661
670
|
#
|
671
|
+
# @option params [required, Array<Types::Dataset>] :training_data
|
672
|
+
# An array of information that lists the Dataset objects, which
|
673
|
+
# specifies the dataset type and details on its location and schema. You
|
674
|
+
# must provide a role that has read access to these tables.
|
675
|
+
#
|
662
676
|
# @option params [Hash<String,String>] :tags
|
663
677
|
# The optional metadata that you apply to the resource to help you
|
664
678
|
# categorize and organize them. Each tag consists of a key and an
|
@@ -691,10 +705,8 @@ module Aws::CleanRoomsML
|
|
691
705
|
# limit of 50 tags. Tags with only the key prefix of aws do not count
|
692
706
|
# against your tags per resource limit.
|
693
707
|
#
|
694
|
-
# @option params [
|
695
|
-
#
|
696
|
-
# specifies the dataset type and details on its location and schema. You
|
697
|
-
# must provide a role that has read access to these tables.
|
708
|
+
# @option params [String] :description
|
709
|
+
# The description of the training dataset.
|
698
710
|
#
|
699
711
|
# @return [Types::CreateTrainingDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
700
712
|
#
|
@@ -703,32 +715,32 @@ module Aws::CleanRoomsML
|
|
703
715
|
# @example Request syntax with placeholder values
|
704
716
|
#
|
705
717
|
# resp = client.create_training_dataset({
|
706
|
-
# description: "ResourceDescription",
|
707
718
|
# name: "NameString", # required
|
708
719
|
# role_arn: "IamRoleArn", # required
|
709
|
-
# tags: {
|
710
|
-
# "TagKey" => "TagValue",
|
711
|
-
# },
|
712
720
|
# training_data: [ # required
|
713
721
|
# {
|
722
|
+
# type: "INTERACTIONS", # required, accepts INTERACTIONS
|
714
723
|
# input_config: { # required
|
715
|
-
# data_source: { # required
|
716
|
-
# glue_data_source: { # required
|
717
|
-
# catalog_id: "AccountId",
|
718
|
-
# database_name: "GlueDatabaseName", # required
|
719
|
-
# table_name: "GlueTableName", # required
|
720
|
-
# },
|
721
|
-
# },
|
722
724
|
# schema: [ # required
|
723
725
|
# {
|
724
726
|
# column_name: "ColumnName", # required
|
725
727
|
# column_types: ["USER_ID"], # required, accepts USER_ID, ITEM_ID, TIMESTAMP, CATEGORICAL_FEATURE, NUMERICAL_FEATURE
|
726
728
|
# },
|
727
729
|
# ],
|
730
|
+
# data_source: { # required
|
731
|
+
# glue_data_source: { # required
|
732
|
+
# table_name: "GlueTableName", # required
|
733
|
+
# database_name: "GlueDatabaseName", # required
|
734
|
+
# catalog_id: "AccountId",
|
735
|
+
# },
|
736
|
+
# },
|
728
737
|
# },
|
729
|
-
# type: "INTERACTIONS", # required, accepts INTERACTIONS
|
730
738
|
# },
|
731
739
|
# ],
|
740
|
+
# tags: {
|
741
|
+
# "TagKey" => "TagValue",
|
742
|
+
# },
|
743
|
+
# description: "ResourceDescription",
|
732
744
|
# })
|
733
745
|
#
|
734
746
|
# @example Response structure
|
@@ -878,20 +890,21 @@ module Aws::CleanRoomsML
|
|
878
890
|
#
|
879
891
|
# @return [Types::GetAudienceGenerationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
880
892
|
#
|
881
|
-
# * {Types::GetAudienceGenerationJobResponse#audience_generation_job_arn #audience_generation_job_arn} => String
|
882
|
-
# * {Types::GetAudienceGenerationJobResponse#collaboration_id #collaboration_id} => String
|
883
|
-
# * {Types::GetAudienceGenerationJobResponse#configured_audience_model_arn #configured_audience_model_arn} => String
|
884
893
|
# * {Types::GetAudienceGenerationJobResponse#create_time #create_time} => Time
|
894
|
+
# * {Types::GetAudienceGenerationJobResponse#update_time #update_time} => Time
|
895
|
+
# * {Types::GetAudienceGenerationJobResponse#audience_generation_job_arn #audience_generation_job_arn} => String
|
896
|
+
# * {Types::GetAudienceGenerationJobResponse#name #name} => String
|
885
897
|
# * {Types::GetAudienceGenerationJobResponse#description #description} => String
|
898
|
+
# * {Types::GetAudienceGenerationJobResponse#status #status} => String
|
899
|
+
# * {Types::GetAudienceGenerationJobResponse#status_details #status_details} => Types::StatusDetails
|
900
|
+
# * {Types::GetAudienceGenerationJobResponse#configured_audience_model_arn #configured_audience_model_arn} => String
|
901
|
+
# * {Types::GetAudienceGenerationJobResponse#seed_audience #seed_audience} => Types::AudienceGenerationJobDataSource
|
886
902
|
# * {Types::GetAudienceGenerationJobResponse#include_seed_in_output #include_seed_in_output} => Boolean
|
903
|
+
# * {Types::GetAudienceGenerationJobResponse#collaboration_id #collaboration_id} => String
|
887
904
|
# * {Types::GetAudienceGenerationJobResponse#metrics #metrics} => Types::AudienceQualityMetrics
|
888
|
-
# * {Types::GetAudienceGenerationJobResponse#name #name} => String
|
889
|
-
# * {Types::GetAudienceGenerationJobResponse#seed_audience #seed_audience} => Types::AudienceGenerationJobDataSource
|
890
905
|
# * {Types::GetAudienceGenerationJobResponse#started_by #started_by} => String
|
891
|
-
# * {Types::GetAudienceGenerationJobResponse#status #status} => String
|
892
|
-
# * {Types::GetAudienceGenerationJobResponse#status_details #status_details} => Types::StatusDetails
|
893
906
|
# * {Types::GetAudienceGenerationJobResponse#tags #tags} => Hash<String,String>
|
894
|
-
# * {Types::GetAudienceGenerationJobResponse#
|
907
|
+
# * {Types::GetAudienceGenerationJobResponse#protected_query_identifier #protected_query_identifier} => String
|
895
908
|
#
|
896
909
|
# @example Request syntax with placeholder values
|
897
910
|
#
|
@@ -901,27 +914,32 @@ module Aws::CleanRoomsML
|
|
901
914
|
#
|
902
915
|
# @example Response structure
|
903
916
|
#
|
904
|
-
# resp.audience_generation_job_arn #=> String
|
905
|
-
# resp.collaboration_id #=> String
|
906
|
-
# resp.configured_audience_model_arn #=> String
|
907
917
|
# resp.create_time #=> Time
|
918
|
+
# resp.update_time #=> Time
|
919
|
+
# resp.audience_generation_job_arn #=> String
|
920
|
+
# resp.name #=> String
|
908
921
|
# resp.description #=> String
|
922
|
+
# resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
923
|
+
# resp.status_details.status_code #=> String
|
924
|
+
# resp.status_details.message #=> String
|
925
|
+
# resp.configured_audience_model_arn #=> String
|
926
|
+
# resp.seed_audience.data_source.s3_uri #=> String
|
927
|
+
# resp.seed_audience.role_arn #=> String
|
928
|
+
# resp.seed_audience.sql_parameters.query_string #=> String
|
929
|
+
# resp.seed_audience.sql_parameters.analysis_template_arn #=> String
|
930
|
+
# resp.seed_audience.sql_parameters.parameters #=> Hash
|
931
|
+
# resp.seed_audience.sql_parameters.parameters["ParameterKey"] #=> String
|
909
932
|
# resp.include_seed_in_output #=> Boolean
|
910
|
-
# resp.
|
933
|
+
# resp.collaboration_id #=> String
|
911
934
|
# resp.metrics.relevance_metrics #=> Array
|
912
935
|
# resp.metrics.relevance_metrics[0].audience_size.type #=> String, one of "ABSOLUTE", "PERCENTAGE"
|
913
936
|
# resp.metrics.relevance_metrics[0].audience_size.value #=> Integer
|
914
937
|
# resp.metrics.relevance_metrics[0].score #=> Float
|
915
|
-
# resp.
|
916
|
-
# resp.seed_audience.data_source.s3_uri #=> String
|
917
|
-
# resp.seed_audience.role_arn #=> String
|
938
|
+
# resp.metrics.recall_metric #=> Float
|
918
939
|
# resp.started_by #=> String
|
919
|
-
# resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
920
|
-
# resp.status_details.message #=> String
|
921
|
-
# resp.status_details.status_code #=> String
|
922
940
|
# resp.tags #=> Hash
|
923
941
|
# resp.tags["TagKey"] #=> String
|
924
|
-
# resp.
|
942
|
+
# resp.protected_query_identifier #=> String
|
925
943
|
#
|
926
944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/GetAudienceGenerationJob AWS API Documentation
|
927
945
|
#
|
@@ -940,18 +958,18 @@ module Aws::CleanRoomsML
|
|
940
958
|
#
|
941
959
|
# @return [Types::GetAudienceModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
942
960
|
#
|
943
|
-
# * {Types::GetAudienceModelResponse#audience_model_arn #audience_model_arn} => String
|
944
961
|
# * {Types::GetAudienceModelResponse#create_time #create_time} => Time
|
945
|
-
# * {Types::GetAudienceModelResponse#
|
946
|
-
# * {Types::GetAudienceModelResponse#
|
962
|
+
# * {Types::GetAudienceModelResponse#update_time #update_time} => Time
|
963
|
+
# * {Types::GetAudienceModelResponse#training_data_start_time #training_data_start_time} => Time
|
964
|
+
# * {Types::GetAudienceModelResponse#training_data_end_time #training_data_end_time} => Time
|
965
|
+
# * {Types::GetAudienceModelResponse#audience_model_arn #audience_model_arn} => String
|
947
966
|
# * {Types::GetAudienceModelResponse#name #name} => String
|
967
|
+
# * {Types::GetAudienceModelResponse#training_dataset_arn #training_dataset_arn} => String
|
948
968
|
# * {Types::GetAudienceModelResponse#status #status} => String
|
949
969
|
# * {Types::GetAudienceModelResponse#status_details #status_details} => Types::StatusDetails
|
970
|
+
# * {Types::GetAudienceModelResponse#kms_key_arn #kms_key_arn} => String
|
950
971
|
# * {Types::GetAudienceModelResponse#tags #tags} => Hash<String,String>
|
951
|
-
# * {Types::GetAudienceModelResponse#
|
952
|
-
# * {Types::GetAudienceModelResponse#training_data_start_time #training_data_start_time} => Time
|
953
|
-
# * {Types::GetAudienceModelResponse#training_dataset_arn #training_dataset_arn} => String
|
954
|
-
# * {Types::GetAudienceModelResponse#update_time #update_time} => Time
|
972
|
+
# * {Types::GetAudienceModelResponse#description #description} => String
|
955
973
|
#
|
956
974
|
# @example Request syntax with placeholder values
|
957
975
|
#
|
@@ -961,20 +979,20 @@ module Aws::CleanRoomsML
|
|
961
979
|
#
|
962
980
|
# @example Response structure
|
963
981
|
#
|
964
|
-
# resp.audience_model_arn #=> String
|
965
982
|
# resp.create_time #=> Time
|
966
|
-
# resp.
|
967
|
-
# resp.
|
983
|
+
# resp.update_time #=> Time
|
984
|
+
# resp.training_data_start_time #=> Time
|
985
|
+
# resp.training_data_end_time #=> Time
|
986
|
+
# resp.audience_model_arn #=> String
|
968
987
|
# resp.name #=> String
|
988
|
+
# resp.training_dataset_arn #=> String
|
969
989
|
# resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
970
|
-
# resp.status_details.message #=> String
|
971
990
|
# resp.status_details.status_code #=> String
|
991
|
+
# resp.status_details.message #=> String
|
992
|
+
# resp.kms_key_arn #=> String
|
972
993
|
# resp.tags #=> Hash
|
973
994
|
# resp.tags["TagKey"] #=> String
|
974
|
-
# resp.
|
975
|
-
# resp.training_data_start_time #=> Time
|
976
|
-
# resp.training_dataset_arn #=> String
|
977
|
-
# resp.update_time #=> Time
|
995
|
+
# resp.description #=> String
|
978
996
|
#
|
979
997
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/GetAudienceModel AWS API Documentation
|
980
998
|
#
|
@@ -993,19 +1011,19 @@ module Aws::CleanRoomsML
|
|
993
1011
|
#
|
994
1012
|
# @return [Types::GetConfiguredAudienceModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
995
1013
|
#
|
996
|
-
# * {Types::GetConfiguredAudienceModelResponse#audience_model_arn #audience_model_arn} => String
|
997
|
-
# * {Types::GetConfiguredAudienceModelResponse#audience_size_config #audience_size_config} => Types::AudienceSizeConfig
|
998
|
-
# * {Types::GetConfiguredAudienceModelResponse#child_resource_tag_on_create_policy #child_resource_tag_on_create_policy} => String
|
999
|
-
# * {Types::GetConfiguredAudienceModelResponse#configured_audience_model_arn #configured_audience_model_arn} => String
|
1000
1014
|
# * {Types::GetConfiguredAudienceModelResponse#create_time #create_time} => Time
|
1001
|
-
# * {Types::GetConfiguredAudienceModelResponse#
|
1002
|
-
# * {Types::GetConfiguredAudienceModelResponse#
|
1015
|
+
# * {Types::GetConfiguredAudienceModelResponse#update_time #update_time} => Time
|
1016
|
+
# * {Types::GetConfiguredAudienceModelResponse#configured_audience_model_arn #configured_audience_model_arn} => String
|
1003
1017
|
# * {Types::GetConfiguredAudienceModelResponse#name #name} => String
|
1018
|
+
# * {Types::GetConfiguredAudienceModelResponse#audience_model_arn #audience_model_arn} => String
|
1004
1019
|
# * {Types::GetConfiguredAudienceModelResponse#output_config #output_config} => Types::ConfiguredAudienceModelOutputConfig
|
1005
|
-
# * {Types::GetConfiguredAudienceModelResponse#
|
1020
|
+
# * {Types::GetConfiguredAudienceModelResponse#description #description} => String
|
1006
1021
|
# * {Types::GetConfiguredAudienceModelResponse#status #status} => String
|
1022
|
+
# * {Types::GetConfiguredAudienceModelResponse#shared_audience_metrics #shared_audience_metrics} => Array<String>
|
1023
|
+
# * {Types::GetConfiguredAudienceModelResponse#min_matching_seed_size #min_matching_seed_size} => Integer
|
1024
|
+
# * {Types::GetConfiguredAudienceModelResponse#audience_size_config #audience_size_config} => Types::AudienceSizeConfig
|
1007
1025
|
# * {Types::GetConfiguredAudienceModelResponse#tags #tags} => Hash<String,String>
|
1008
|
-
# * {Types::GetConfiguredAudienceModelResponse#
|
1026
|
+
# * {Types::GetConfiguredAudienceModelResponse#child_resource_tag_on_create_policy #child_resource_tag_on_create_policy} => String
|
1009
1027
|
#
|
1010
1028
|
# @example Request syntax with placeholder values
|
1011
1029
|
#
|
@@ -1015,24 +1033,24 @@ module Aws::CleanRoomsML
|
|
1015
1033
|
#
|
1016
1034
|
# @example Response structure
|
1017
1035
|
#
|
1018
|
-
# resp.audience_model_arn #=> String
|
1019
|
-
# resp.audience_size_config.audience_size_bins #=> Array
|
1020
|
-
# resp.audience_size_config.audience_size_bins[0] #=> Integer
|
1021
|
-
# resp.audience_size_config.audience_size_type #=> String, one of "ABSOLUTE", "PERCENTAGE"
|
1022
|
-
# resp.child_resource_tag_on_create_policy #=> String, one of "FROM_PARENT_RESOURCE", "NONE"
|
1023
|
-
# resp.configured_audience_model_arn #=> String
|
1024
1036
|
# resp.create_time #=> Time
|
1025
|
-
# resp.
|
1026
|
-
# resp.
|
1037
|
+
# resp.update_time #=> Time
|
1038
|
+
# resp.configured_audience_model_arn #=> String
|
1027
1039
|
# resp.name #=> String
|
1040
|
+
# resp.audience_model_arn #=> String
|
1028
1041
|
# resp.output_config.destination.s3_destination.s3_uri #=> String
|
1029
1042
|
# resp.output_config.role_arn #=> String
|
1043
|
+
# resp.description #=> String
|
1044
|
+
# resp.status #=> String, one of "ACTIVE"
|
1030
1045
|
# resp.shared_audience_metrics #=> Array
|
1031
1046
|
# resp.shared_audience_metrics[0] #=> String, one of "ALL", "NONE"
|
1032
|
-
# resp.
|
1047
|
+
# resp.min_matching_seed_size #=> Integer
|
1048
|
+
# resp.audience_size_config.audience_size_type #=> String, one of "ABSOLUTE", "PERCENTAGE"
|
1049
|
+
# resp.audience_size_config.audience_size_bins #=> Array
|
1050
|
+
# resp.audience_size_config.audience_size_bins[0] #=> Integer
|
1033
1051
|
# resp.tags #=> Hash
|
1034
1052
|
# resp.tags["TagKey"] #=> String
|
1035
|
-
# resp.
|
1053
|
+
# resp.child_resource_tag_on_create_policy #=> String, one of "FROM_PARENT_RESOURCE", "NONE"
|
1036
1054
|
#
|
1037
1055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/GetConfiguredAudienceModel AWS API Documentation
|
1038
1056
|
#
|
@@ -1085,14 +1103,14 @@ module Aws::CleanRoomsML
|
|
1085
1103
|
# @return [Types::GetTrainingDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1086
1104
|
#
|
1087
1105
|
# * {Types::GetTrainingDatasetResponse#create_time #create_time} => Time
|
1088
|
-
# * {Types::GetTrainingDatasetResponse#
|
1106
|
+
# * {Types::GetTrainingDatasetResponse#update_time #update_time} => Time
|
1107
|
+
# * {Types::GetTrainingDatasetResponse#training_dataset_arn #training_dataset_arn} => String
|
1089
1108
|
# * {Types::GetTrainingDatasetResponse#name #name} => String
|
1090
|
-
# * {Types::GetTrainingDatasetResponse#
|
1109
|
+
# * {Types::GetTrainingDatasetResponse#training_data #training_data} => Array<Types::Dataset>
|
1091
1110
|
# * {Types::GetTrainingDatasetResponse#status #status} => String
|
1111
|
+
# * {Types::GetTrainingDatasetResponse#role_arn #role_arn} => String
|
1092
1112
|
# * {Types::GetTrainingDatasetResponse#tags #tags} => Hash<String,String>
|
1093
|
-
# * {Types::GetTrainingDatasetResponse#
|
1094
|
-
# * {Types::GetTrainingDatasetResponse#training_dataset_arn #training_dataset_arn} => String
|
1095
|
-
# * {Types::GetTrainingDatasetResponse#update_time #update_time} => Time
|
1113
|
+
# * {Types::GetTrainingDatasetResponse#description #description} => String
|
1096
1114
|
#
|
1097
1115
|
# @example Request syntax with placeholder values
|
1098
1116
|
#
|
@@ -1103,23 +1121,23 @@ module Aws::CleanRoomsML
|
|
1103
1121
|
# @example Response structure
|
1104
1122
|
#
|
1105
1123
|
# resp.create_time #=> Time
|
1106
|
-
# resp.
|
1124
|
+
# resp.update_time #=> Time
|
1125
|
+
# resp.training_dataset_arn #=> String
|
1107
1126
|
# resp.name #=> String
|
1108
|
-
# resp.role_arn #=> String
|
1109
|
-
# resp.status #=> String, one of "ACTIVE"
|
1110
|
-
# resp.tags #=> Hash
|
1111
|
-
# resp.tags["TagKey"] #=> String
|
1112
1127
|
# resp.training_data #=> Array
|
1113
|
-
# resp.training_data[0].
|
1114
|
-
# resp.training_data[0].input_config.data_source.glue_data_source.database_name #=> String
|
1115
|
-
# resp.training_data[0].input_config.data_source.glue_data_source.table_name #=> String
|
1128
|
+
# resp.training_data[0].type #=> String, one of "INTERACTIONS"
|
1116
1129
|
# resp.training_data[0].input_config.schema #=> Array
|
1117
1130
|
# resp.training_data[0].input_config.schema[0].column_name #=> String
|
1118
1131
|
# resp.training_data[0].input_config.schema[0].column_types #=> Array
|
1119
1132
|
# resp.training_data[0].input_config.schema[0].column_types[0] #=> String, one of "USER_ID", "ITEM_ID", "TIMESTAMP", "CATEGORICAL_FEATURE", "NUMERICAL_FEATURE"
|
1120
|
-
# resp.training_data[0].
|
1121
|
-
# resp.
|
1122
|
-
# resp.
|
1133
|
+
# resp.training_data[0].input_config.data_source.glue_data_source.table_name #=> String
|
1134
|
+
# resp.training_data[0].input_config.data_source.glue_data_source.database_name #=> String
|
1135
|
+
# resp.training_data[0].input_config.data_source.glue_data_source.catalog_id #=> String
|
1136
|
+
# resp.status #=> String, one of "ACTIVE"
|
1137
|
+
# resp.role_arn #=> String
|
1138
|
+
# resp.tags #=> Hash
|
1139
|
+
# resp.tags["TagKey"] #=> String
|
1140
|
+
# resp.description #=> String
|
1123
1141
|
#
|
1124
1142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/GetTrainingDataset AWS API Documentation
|
1125
1143
|
#
|
@@ -1132,47 +1150,47 @@ module Aws::CleanRoomsML
|
|
1132
1150
|
|
1133
1151
|
# Returns a list of the audience export jobs.
|
1134
1152
|
#
|
1135
|
-
# @option params [String] :
|
1136
|
-
# The
|
1137
|
-
#
|
1153
|
+
# @option params [String] :next_token
|
1154
|
+
# The token value retrieved from a previous call to access the next page
|
1155
|
+
# of results.
|
1138
1156
|
#
|
1139
1157
|
# @option params [Integer] :max_results
|
1140
1158
|
# The maximum size of the results that is returned per call.
|
1141
1159
|
#
|
1142
|
-
# @option params [String] :
|
1143
|
-
# The
|
1144
|
-
#
|
1160
|
+
# @option params [String] :audience_generation_job_arn
|
1161
|
+
# The Amazon Resource Name (ARN) of the audience generation job that you
|
1162
|
+
# are interested in.
|
1145
1163
|
#
|
1146
1164
|
# @return [Types::ListAudienceExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1147
1165
|
#
|
1148
|
-
# * {Types::ListAudienceExportJobsResponse#audience_export_jobs #audience_export_jobs} => Array<Types::AudienceExportJobSummary>
|
1149
1166
|
# * {Types::ListAudienceExportJobsResponse#next_token #next_token} => String
|
1167
|
+
# * {Types::ListAudienceExportJobsResponse#audience_export_jobs #audience_export_jobs} => Array<Types::AudienceExportJobSummary>
|
1150
1168
|
#
|
1151
1169
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1152
1170
|
#
|
1153
1171
|
# @example Request syntax with placeholder values
|
1154
1172
|
#
|
1155
1173
|
# resp = client.list_audience_export_jobs({
|
1156
|
-
# audience_generation_job_arn: "AudienceGenerationJobArn",
|
1157
|
-
# max_results: 1,
|
1158
1174
|
# next_token: "NextToken",
|
1175
|
+
# max_results: 1,
|
1176
|
+
# audience_generation_job_arn: "AudienceGenerationJobArn",
|
1159
1177
|
# })
|
1160
1178
|
#
|
1161
1179
|
# @example Response structure
|
1162
1180
|
#
|
1181
|
+
# resp.next_token #=> String
|
1163
1182
|
# resp.audience_export_jobs #=> Array
|
1183
|
+
# resp.audience_export_jobs[0].create_time #=> Time
|
1184
|
+
# resp.audience_export_jobs[0].update_time #=> Time
|
1185
|
+
# resp.audience_export_jobs[0].name #=> String
|
1164
1186
|
# resp.audience_export_jobs[0].audience_generation_job_arn #=> String
|
1165
1187
|
# resp.audience_export_jobs[0].audience_size.type #=> String, one of "ABSOLUTE", "PERCENTAGE"
|
1166
1188
|
# resp.audience_export_jobs[0].audience_size.value #=> Integer
|
1167
|
-
# resp.audience_export_jobs[0].create_time #=> Time
|
1168
1189
|
# resp.audience_export_jobs[0].description #=> String
|
1169
|
-
# resp.audience_export_jobs[0].name #=> String
|
1170
|
-
# resp.audience_export_jobs[0].output_location #=> String
|
1171
1190
|
# resp.audience_export_jobs[0].status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE"
|
1172
|
-
# resp.audience_export_jobs[0].status_details.message #=> String
|
1173
1191
|
# resp.audience_export_jobs[0].status_details.status_code #=> String
|
1174
|
-
# resp.audience_export_jobs[0].
|
1175
|
-
# resp.
|
1192
|
+
# resp.audience_export_jobs[0].status_details.message #=> String
|
1193
|
+
# resp.audience_export_jobs[0].output_location #=> String
|
1176
1194
|
#
|
1177
1195
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/ListAudienceExportJobs AWS API Documentation
|
1178
1196
|
#
|
@@ -1185,50 +1203,50 @@ module Aws::CleanRoomsML
|
|
1185
1203
|
|
1186
1204
|
# Returns a list of audience generation jobs.
|
1187
1205
|
#
|
1188
|
-
# @option params [String] :
|
1189
|
-
# The
|
1190
|
-
#
|
1206
|
+
# @option params [String] :next_token
|
1207
|
+
# The token value retrieved from a previous call to access the next page
|
1208
|
+
# of results.
|
1209
|
+
#
|
1210
|
+
# @option params [Integer] :max_results
|
1211
|
+
# The maximum size of the results that is returned per call.
|
1191
1212
|
#
|
1192
1213
|
# @option params [String] :configured_audience_model_arn
|
1193
1214
|
# The Amazon Resource Name (ARN) of the configured audience model that
|
1194
1215
|
# was used for the audience generation jobs that you are interested in.
|
1195
1216
|
#
|
1196
|
-
# @option params [
|
1197
|
-
# The
|
1198
|
-
#
|
1199
|
-
# @option params [String] :next_token
|
1200
|
-
# The token value retrieved from a previous call to access the next page
|
1201
|
-
# of results.
|
1217
|
+
# @option params [String] :collaboration_id
|
1218
|
+
# The identifier of the collaboration that contains the audience
|
1219
|
+
# generation jobs that you are interested in.
|
1202
1220
|
#
|
1203
1221
|
# @return [Types::ListAudienceGenerationJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1204
1222
|
#
|
1205
|
-
# * {Types::ListAudienceGenerationJobsResponse#audience_generation_jobs #audience_generation_jobs} => Array<Types::AudienceGenerationJobSummary>
|
1206
1223
|
# * {Types::ListAudienceGenerationJobsResponse#next_token #next_token} => String
|
1224
|
+
# * {Types::ListAudienceGenerationJobsResponse#audience_generation_jobs #audience_generation_jobs} => Array<Types::AudienceGenerationJobSummary>
|
1207
1225
|
#
|
1208
1226
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1209
1227
|
#
|
1210
1228
|
# @example Request syntax with placeholder values
|
1211
1229
|
#
|
1212
1230
|
# resp = client.list_audience_generation_jobs({
|
1213
|
-
# collaboration_id: "UUID",
|
1214
|
-
# configured_audience_model_arn: "ConfiguredAudienceModelArn",
|
1215
|
-
# max_results: 1,
|
1216
1231
|
# next_token: "NextToken",
|
1232
|
+
# max_results: 1,
|
1233
|
+
# configured_audience_model_arn: "ConfiguredAudienceModelArn",
|
1234
|
+
# collaboration_id: "UUID",
|
1217
1235
|
# })
|
1218
1236
|
#
|
1219
1237
|
# @example Response structure
|
1220
1238
|
#
|
1239
|
+
# resp.next_token #=> String
|
1221
1240
|
# resp.audience_generation_jobs #=> Array
|
1222
|
-
# resp.audience_generation_jobs[0].audience_generation_job_arn #=> String
|
1223
|
-
# resp.audience_generation_jobs[0].collaboration_id #=> String
|
1224
|
-
# resp.audience_generation_jobs[0].configured_audience_model_arn #=> String
|
1225
1241
|
# resp.audience_generation_jobs[0].create_time #=> Time
|
1226
|
-
# resp.audience_generation_jobs[0].
|
1242
|
+
# resp.audience_generation_jobs[0].update_time #=> Time
|
1243
|
+
# resp.audience_generation_jobs[0].audience_generation_job_arn #=> String
|
1227
1244
|
# resp.audience_generation_jobs[0].name #=> String
|
1228
|
-
# resp.audience_generation_jobs[0].
|
1245
|
+
# resp.audience_generation_jobs[0].description #=> String
|
1229
1246
|
# resp.audience_generation_jobs[0].status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
1230
|
-
# resp.audience_generation_jobs[0].
|
1231
|
-
# resp.
|
1247
|
+
# resp.audience_generation_jobs[0].configured_audience_model_arn #=> String
|
1248
|
+
# resp.audience_generation_jobs[0].collaboration_id #=> String
|
1249
|
+
# resp.audience_generation_jobs[0].started_by #=> String
|
1232
1250
|
#
|
1233
1251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/ListAudienceGenerationJobs AWS API Documentation
|
1234
1252
|
#
|
@@ -1241,38 +1259,38 @@ module Aws::CleanRoomsML
|
|
1241
1259
|
|
1242
1260
|
# Returns a list of audience models.
|
1243
1261
|
#
|
1244
|
-
# @option params [Integer] :max_results
|
1245
|
-
# The maximum size of the results that is returned per call.
|
1246
|
-
#
|
1247
1262
|
# @option params [String] :next_token
|
1248
1263
|
# The token value retrieved from a previous call to access the next page
|
1249
1264
|
# of results.
|
1250
1265
|
#
|
1266
|
+
# @option params [Integer] :max_results
|
1267
|
+
# The maximum size of the results that is returned per call.
|
1268
|
+
#
|
1251
1269
|
# @return [Types::ListAudienceModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1252
1270
|
#
|
1253
|
-
# * {Types::ListAudienceModelsResponse#audience_models #audience_models} => Array<Types::AudienceModelSummary>
|
1254
1271
|
# * {Types::ListAudienceModelsResponse#next_token #next_token} => String
|
1272
|
+
# * {Types::ListAudienceModelsResponse#audience_models #audience_models} => Array<Types::AudienceModelSummary>
|
1255
1273
|
#
|
1256
1274
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1257
1275
|
#
|
1258
1276
|
# @example Request syntax with placeholder values
|
1259
1277
|
#
|
1260
1278
|
# resp = client.list_audience_models({
|
1261
|
-
# max_results: 1,
|
1262
1279
|
# next_token: "NextToken",
|
1280
|
+
# max_results: 1,
|
1263
1281
|
# })
|
1264
1282
|
#
|
1265
1283
|
# @example Response structure
|
1266
1284
|
#
|
1285
|
+
# resp.next_token #=> String
|
1267
1286
|
# resp.audience_models #=> Array
|
1268
|
-
# resp.audience_models[0].audience_model_arn #=> String
|
1269
1287
|
# resp.audience_models[0].create_time #=> Time
|
1270
|
-
# resp.audience_models[0].
|
1288
|
+
# resp.audience_models[0].update_time #=> Time
|
1289
|
+
# resp.audience_models[0].audience_model_arn #=> String
|
1271
1290
|
# resp.audience_models[0].name #=> String
|
1272
|
-
# resp.audience_models[0].status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
1273
1291
|
# resp.audience_models[0].training_dataset_arn #=> String
|
1274
|
-
# resp.audience_models[0].
|
1275
|
-
# resp.
|
1292
|
+
# resp.audience_models[0].status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "ACTIVE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_FAILED"
|
1293
|
+
# resp.audience_models[0].description #=> String
|
1276
1294
|
#
|
1277
1295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/ListAudienceModels AWS API Documentation
|
1278
1296
|
#
|
@@ -1285,40 +1303,40 @@ module Aws::CleanRoomsML
|
|
1285
1303
|
|
1286
1304
|
# Returns a list of the configured audience models.
|
1287
1305
|
#
|
1288
|
-
# @option params [Integer] :max_results
|
1289
|
-
# The maximum size of the results that is returned per call.
|
1290
|
-
#
|
1291
1306
|
# @option params [String] :next_token
|
1292
1307
|
# The token value retrieved from a previous call to access the next page
|
1293
1308
|
# of results.
|
1294
1309
|
#
|
1310
|
+
# @option params [Integer] :max_results
|
1311
|
+
# The maximum size of the results that is returned per call.
|
1312
|
+
#
|
1295
1313
|
# @return [Types::ListConfiguredAudienceModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1296
1314
|
#
|
1297
|
-
# * {Types::ListConfiguredAudienceModelsResponse#configured_audience_models #configured_audience_models} => Array<Types::ConfiguredAudienceModelSummary>
|
1298
1315
|
# * {Types::ListConfiguredAudienceModelsResponse#next_token #next_token} => String
|
1316
|
+
# * {Types::ListConfiguredAudienceModelsResponse#configured_audience_models #configured_audience_models} => Array<Types::ConfiguredAudienceModelSummary>
|
1299
1317
|
#
|
1300
1318
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1301
1319
|
#
|
1302
1320
|
# @example Request syntax with placeholder values
|
1303
1321
|
#
|
1304
1322
|
# resp = client.list_configured_audience_models({
|
1305
|
-
# max_results: 1,
|
1306
1323
|
# next_token: "NextToken",
|
1324
|
+
# max_results: 1,
|
1307
1325
|
# })
|
1308
1326
|
#
|
1309
1327
|
# @example Response structure
|
1310
1328
|
#
|
1329
|
+
# resp.next_token #=> String
|
1311
1330
|
# resp.configured_audience_models #=> Array
|
1312
|
-
# resp.configured_audience_models[0].audience_model_arn #=> String
|
1313
|
-
# resp.configured_audience_models[0].configured_audience_model_arn #=> String
|
1314
1331
|
# resp.configured_audience_models[0].create_time #=> Time
|
1315
|
-
# resp.configured_audience_models[0].
|
1332
|
+
# resp.configured_audience_models[0].update_time #=> Time
|
1316
1333
|
# resp.configured_audience_models[0].name #=> String
|
1334
|
+
# resp.configured_audience_models[0].audience_model_arn #=> String
|
1317
1335
|
# resp.configured_audience_models[0].output_config.destination.s3_destination.s3_uri #=> String
|
1318
1336
|
# resp.configured_audience_models[0].output_config.role_arn #=> String
|
1337
|
+
# resp.configured_audience_models[0].description #=> String
|
1338
|
+
# resp.configured_audience_models[0].configured_audience_model_arn #=> String
|
1319
1339
|
# resp.configured_audience_models[0].status #=> String, one of "ACTIVE"
|
1320
|
-
# resp.configured_audience_models[0].update_time #=> Time
|
1321
|
-
# resp.next_token #=> String
|
1322
1340
|
#
|
1323
1341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/ListConfiguredAudienceModels AWS API Documentation
|
1324
1342
|
#
|
@@ -1361,13 +1379,13 @@ module Aws::CleanRoomsML
|
|
1361
1379
|
|
1362
1380
|
# Returns a list of training datasets.
|
1363
1381
|
#
|
1364
|
-
# @option params [Integer] :max_results
|
1365
|
-
# The maximum size of the results that is returned per call.
|
1366
|
-
#
|
1367
1382
|
# @option params [String] :next_token
|
1368
1383
|
# The token value retrieved from a previous call to access the next page
|
1369
1384
|
# of results.
|
1370
1385
|
#
|
1386
|
+
# @option params [Integer] :max_results
|
1387
|
+
# The maximum size of the results that is returned per call.
|
1388
|
+
#
|
1371
1389
|
# @return [Types::ListTrainingDatasetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1372
1390
|
#
|
1373
1391
|
# * {Types::ListTrainingDatasetsResponse#next_token #next_token} => String
|
@@ -1378,8 +1396,8 @@ module Aws::CleanRoomsML
|
|
1378
1396
|
# @example Request syntax with placeholder values
|
1379
1397
|
#
|
1380
1398
|
# resp = client.list_training_datasets({
|
1381
|
-
# max_results: 1,
|
1382
1399
|
# next_token: "NextToken",
|
1400
|
+
# max_results: 1,
|
1383
1401
|
# })
|
1384
1402
|
#
|
1385
1403
|
# @example Response structure
|
@@ -1387,11 +1405,11 @@ module Aws::CleanRoomsML
|
|
1387
1405
|
# resp.next_token #=> String
|
1388
1406
|
# resp.training_datasets #=> Array
|
1389
1407
|
# resp.training_datasets[0].create_time #=> Time
|
1390
|
-
# resp.training_datasets[0].
|
1408
|
+
# resp.training_datasets[0].update_time #=> Time
|
1409
|
+
# resp.training_datasets[0].training_dataset_arn #=> String
|
1391
1410
|
# resp.training_datasets[0].name #=> String
|
1392
1411
|
# resp.training_datasets[0].status #=> String, one of "ACTIVE"
|
1393
|
-
# resp.training_datasets[0].
|
1394
|
-
# resp.training_datasets[0].update_time #=> Time
|
1412
|
+
# resp.training_datasets[0].description #=> String
|
1395
1413
|
#
|
1396
1414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/ListTrainingDatasets AWS API Documentation
|
1397
1415
|
#
|
@@ -1411,13 +1429,13 @@ module Aws::CleanRoomsML
|
|
1411
1429
|
# @option params [required, String] :configured_audience_model_policy
|
1412
1430
|
# The IAM resource policy.
|
1413
1431
|
#
|
1414
|
-
# @option params [String] :policy_existence_condition
|
1415
|
-
# Use this to prevent unexpected concurrent modification of the policy.
|
1416
|
-
#
|
1417
1432
|
# @option params [String] :previous_policy_hash
|
1418
1433
|
# A cryptographic hash of the contents of the policy used to prevent
|
1419
1434
|
# unexpected concurrent modification of the policy.
|
1420
1435
|
#
|
1436
|
+
# @option params [String] :policy_existence_condition
|
1437
|
+
# Use this to prevent unexpected concurrent modification of the policy.
|
1438
|
+
#
|
1421
1439
|
# @return [Types::PutConfiguredAudienceModelPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1422
1440
|
#
|
1423
1441
|
# * {Types::PutConfiguredAudienceModelPolicyResponse#configured_audience_model_policy #configured_audience_model_policy} => String
|
@@ -1428,8 +1446,8 @@ module Aws::CleanRoomsML
|
|
1428
1446
|
# resp = client.put_configured_audience_model_policy({
|
1429
1447
|
# configured_audience_model_arn: "ConfiguredAudienceModelArn", # required
|
1430
1448
|
# configured_audience_model_policy: "ResourcePolicy", # required
|
1431
|
-
# policy_existence_condition: "POLICY_MUST_EXIST", # accepts POLICY_MUST_EXIST, POLICY_MUST_NOT_EXIST
|
1432
1449
|
# previous_policy_hash: "Hash",
|
1450
|
+
# policy_existence_condition: "POLICY_MUST_EXIST", # accepts POLICY_MUST_EXIST, POLICY_MUST_NOT_EXIST
|
1433
1451
|
# })
|
1434
1452
|
#
|
1435
1453
|
# @example Response structure
|
@@ -1449,6 +1467,9 @@ module Aws::CleanRoomsML
|
|
1449
1467
|
# Export an audience of a specified size after you have generated an
|
1450
1468
|
# audience.
|
1451
1469
|
#
|
1470
|
+
# @option params [required, String] :name
|
1471
|
+
# The name of the audience export job.
|
1472
|
+
#
|
1452
1473
|
# @option params [required, String] :audience_generation_job_arn
|
1453
1474
|
# The Amazon Resource Name (ARN) of the audience generation job that you
|
1454
1475
|
# want to export.
|
@@ -1460,21 +1481,18 @@ module Aws::CleanRoomsML
|
|
1460
1481
|
# @option params [String] :description
|
1461
1482
|
# The description of the audience export job.
|
1462
1483
|
#
|
1463
|
-
# @option params [required, String] :name
|
1464
|
-
# The name of the audience export job.
|
1465
|
-
#
|
1466
1484
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1467
1485
|
#
|
1468
1486
|
# @example Request syntax with placeholder values
|
1469
1487
|
#
|
1470
1488
|
# resp = client.start_audience_export_job({
|
1489
|
+
# name: "NameString", # required
|
1471
1490
|
# audience_generation_job_arn: "AudienceGenerationJobArn", # required
|
1472
1491
|
# audience_size: { # required
|
1473
1492
|
# type: "ABSOLUTE", # required, accepts ABSOLUTE, PERCENTAGE
|
1474
1493
|
# value: 1, # required
|
1475
1494
|
# },
|
1476
1495
|
# description: "ResourceDescription",
|
1477
|
-
# name: "NameString", # required
|
1478
1496
|
# })
|
1479
1497
|
#
|
1480
1498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/StartAudienceExportJob AWS API Documentation
|
@@ -1488,26 +1506,26 @@ module Aws::CleanRoomsML
|
|
1488
1506
|
|
1489
1507
|
# Information necessary to start the audience generation job.
|
1490
1508
|
#
|
1491
|
-
# @option params [String] :
|
1492
|
-
# The
|
1493
|
-
# generation job.
|
1509
|
+
# @option params [required, String] :name
|
1510
|
+
# The name of the audience generation job.
|
1494
1511
|
#
|
1495
1512
|
# @option params [required, String] :configured_audience_model_arn
|
1496
1513
|
# The Amazon Resource Name (ARN) of the configured audience model that
|
1497
1514
|
# is used for this audience generation job.
|
1498
1515
|
#
|
1499
|
-
# @option params [
|
1500
|
-
# The
|
1516
|
+
# @option params [required, Types::AudienceGenerationJobDataSource] :seed_audience
|
1517
|
+
# The seed audience that is used to generate the audience.
|
1501
1518
|
#
|
1502
1519
|
# @option params [Boolean] :include_seed_in_output
|
1503
1520
|
# Whether the seed audience is included in the audience generation
|
1504
1521
|
# output.
|
1505
1522
|
#
|
1506
|
-
# @option params [
|
1507
|
-
# The
|
1523
|
+
# @option params [String] :collaboration_id
|
1524
|
+
# The identifier of the collaboration that contains the audience
|
1525
|
+
# generation job.
|
1508
1526
|
#
|
1509
|
-
# @option params [
|
1510
|
-
# The
|
1527
|
+
# @option params [String] :description
|
1528
|
+
# The description of the audience generation job.
|
1511
1529
|
#
|
1512
1530
|
# @option params [Hash<String,String>] :tags
|
1513
1531
|
# The optional metadata that you apply to the resource to help you
|
@@ -1548,17 +1566,24 @@ module Aws::CleanRoomsML
|
|
1548
1566
|
# @example Request syntax with placeholder values
|
1549
1567
|
#
|
1550
1568
|
# resp = client.start_audience_generation_job({
|
1551
|
-
# collaboration_id: "UUID",
|
1552
|
-
# configured_audience_model_arn: "ConfiguredAudienceModelArn", # required
|
1553
|
-
# description: "ResourceDescription",
|
1554
|
-
# include_seed_in_output: false,
|
1555
1569
|
# name: "NameString", # required
|
1570
|
+
# configured_audience_model_arn: "ConfiguredAudienceModelArn", # required
|
1556
1571
|
# seed_audience: { # required
|
1557
|
-
# data_source: {
|
1572
|
+
# data_source: {
|
1558
1573
|
# s3_uri: "S3Path", # required
|
1559
1574
|
# },
|
1560
1575
|
# role_arn: "IamRoleArn", # required
|
1576
|
+
# sql_parameters: {
|
1577
|
+
# query_string: "ProtectedQuerySQLParametersQueryStringString",
|
1578
|
+
# analysis_template_arn: "AnalysisTemplateArn",
|
1579
|
+
# parameters: {
|
1580
|
+
# "ParameterKey" => "ParameterValue",
|
1581
|
+
# },
|
1582
|
+
# },
|
1561
1583
|
# },
|
1584
|
+
# include_seed_in_output: false,
|
1585
|
+
# collaboration_id: "UUID",
|
1586
|
+
# description: "ResourceDescription",
|
1562
1587
|
# tags: {
|
1563
1588
|
# "TagKey" => "TagValue",
|
1564
1589
|
# },
|
@@ -1666,29 +1691,29 @@ module Aws::CleanRoomsML
|
|
1666
1691
|
# model. Updates that impact audience generation jobs take effect when a
|
1667
1692
|
# new job starts, but do not impact currently running jobs.
|
1668
1693
|
#
|
1669
|
-
# @option params [String] :audience_model_arn
|
1670
|
-
# The Amazon Resource Name (ARN) of the new audience model that you want
|
1671
|
-
# to use.
|
1672
|
-
#
|
1673
|
-
# @option params [Types::AudienceSizeConfig] :audience_size_config
|
1674
|
-
# The new audience size configuration.
|
1675
|
-
#
|
1676
1694
|
# @option params [required, String] :configured_audience_model_arn
|
1677
1695
|
# The Amazon Resource Name (ARN) of the configured audience model that
|
1678
1696
|
# you want to update.
|
1679
1697
|
#
|
1680
|
-
# @option params [
|
1681
|
-
# The new
|
1698
|
+
# @option params [Types::ConfiguredAudienceModelOutputConfig] :output_config
|
1699
|
+
# The new output configuration.
|
1700
|
+
#
|
1701
|
+
# @option params [String] :audience_model_arn
|
1702
|
+
# The Amazon Resource Name (ARN) of the new audience model that you want
|
1703
|
+
# to use.
|
1704
|
+
#
|
1705
|
+
# @option params [Array<String>] :shared_audience_metrics
|
1706
|
+
# The new value for whether to share audience metrics.
|
1682
1707
|
#
|
1683
1708
|
# @option params [Integer] :min_matching_seed_size
|
1684
1709
|
# The minimum number of users from the seed audience that must match
|
1685
1710
|
# with users in the training data of the audience model.
|
1686
1711
|
#
|
1687
|
-
# @option params [Types::
|
1688
|
-
# The new
|
1712
|
+
# @option params [Types::AudienceSizeConfig] :audience_size_config
|
1713
|
+
# The new audience size configuration.
|
1689
1714
|
#
|
1690
|
-
# @option params [
|
1691
|
-
# The new
|
1715
|
+
# @option params [String] :description
|
1716
|
+
# The new description of the configured audience model.
|
1692
1717
|
#
|
1693
1718
|
# @return [Types::UpdateConfiguredAudienceModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1694
1719
|
#
|
@@ -1697,14 +1722,7 @@ module Aws::CleanRoomsML
|
|
1697
1722
|
# @example Request syntax with placeholder values
|
1698
1723
|
#
|
1699
1724
|
# resp = client.update_configured_audience_model({
|
1700
|
-
# audience_model_arn: "AudienceModelArn",
|
1701
|
-
# audience_size_config: {
|
1702
|
-
# audience_size_bins: [1], # required
|
1703
|
-
# audience_size_type: "ABSOLUTE", # required, accepts ABSOLUTE, PERCENTAGE
|
1704
|
-
# },
|
1705
1725
|
# configured_audience_model_arn: "ConfiguredAudienceModelArn", # required
|
1706
|
-
# description: "ResourceDescription",
|
1707
|
-
# min_matching_seed_size: 1,
|
1708
1726
|
# output_config: {
|
1709
1727
|
# destination: { # required
|
1710
1728
|
# s3_destination: { # required
|
@@ -1713,7 +1731,14 @@ module Aws::CleanRoomsML
|
|
1713
1731
|
# },
|
1714
1732
|
# role_arn: "IamRoleArn", # required
|
1715
1733
|
# },
|
1734
|
+
# audience_model_arn: "AudienceModelArn",
|
1716
1735
|
# shared_audience_metrics: ["ALL"], # accepts ALL, NONE
|
1736
|
+
# min_matching_seed_size: 1,
|
1737
|
+
# audience_size_config: {
|
1738
|
+
# audience_size_type: "ABSOLUTE", # required, accepts ABSOLUTE, PERCENTAGE
|
1739
|
+
# audience_size_bins: [1], # required
|
1740
|
+
# },
|
1741
|
+
# description: "ResourceDescription",
|
1717
1742
|
# })
|
1718
1743
|
#
|
1719
1744
|
# @example Response structure
|
@@ -1735,14 +1760,19 @@ module Aws::CleanRoomsML
|
|
1735
1760
|
# @api private
|
1736
1761
|
def build_request(operation_name, params = {})
|
1737
1762
|
handlers = @handlers.for(operation_name)
|
1763
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
1764
|
+
Aws::Telemetry.module_to_tracer_name('Aws::CleanRoomsML')
|
1765
|
+
)
|
1738
1766
|
context = Seahorse::Client::RequestContext.new(
|
1739
1767
|
operation_name: operation_name,
|
1740
1768
|
operation: config.api.operation(operation_name),
|
1741
1769
|
client: self,
|
1742
1770
|
params: params,
|
1743
|
-
config: config
|
1771
|
+
config: config,
|
1772
|
+
tracer: tracer
|
1773
|
+
)
|
1744
1774
|
context[:gem_name] = 'aws-sdk-cleanroomsml'
|
1745
|
-
context[:gem_version] = '1.
|
1775
|
+
context[:gem_version] = '1.11.0'
|
1746
1776
|
Seahorse::Client::Request.new(handlers, context)
|
1747
1777
|
end
|
1748
1778
|
|