aws-sdk-cleanrooms 1.33.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,6 +66,7 @@ module Aws::CleanRooms
66
66
  AnalysisTemplateValidationStatusReasonList = Shapes::ListShape.new(name: 'AnalysisTemplateValidationStatusReasonList')
67
67
  AnalysisTemplateValidationType = Shapes::StringShape.new(name: 'AnalysisTemplateValidationType')
68
68
  AnalysisType = Shapes::StringShape.new(name: 'AnalysisType')
69
+ AnalyticsEngine = Shapes::StringShape.new(name: 'AnalyticsEngine')
69
70
  BatchGetCollaborationAnalysisTemplateError = Shapes::StructureShape.new(name: 'BatchGetCollaborationAnalysisTemplateError')
70
71
  BatchGetCollaborationAnalysisTemplateErrorList = Shapes::ListShape.new(name: 'BatchGetCollaborationAnalysisTemplateErrorList')
71
72
  BatchGetCollaborationAnalysisTemplateInput = Shapes::StructureShape.new(name: 'BatchGetCollaborationAnalysisTemplateInput')
@@ -78,6 +79,7 @@ module Aws::CleanRooms
78
79
  BatchGetSchemaErrorList = Shapes::ListShape.new(name: 'BatchGetSchemaErrorList')
79
80
  BatchGetSchemaInput = Shapes::StructureShape.new(name: 'BatchGetSchemaInput')
80
81
  BatchGetSchemaOutput = Shapes::StructureShape.new(name: 'BatchGetSchemaOutput')
82
+ BilledResourceUtilization = Shapes::StructureShape.new(name: 'BilledResourceUtilization')
81
83
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
82
84
  CleanroomsArn = Shapes::StringShape.new(name: 'CleanroomsArn')
83
85
  Collaboration = Shapes::StructureShape.new(name: 'Collaboration')
@@ -107,6 +109,7 @@ module Aws::CleanRooms
107
109
  ColumnList = Shapes::ListShape.new(name: 'ColumnList')
108
110
  ColumnName = Shapes::StringShape.new(name: 'ColumnName')
109
111
  ColumnTypeString = Shapes::StringShape.new(name: 'ColumnTypeString')
112
+ ComputeConfiguration = Shapes::UnionShape.new(name: 'ComputeConfiguration')
110
113
  ConfigurationDetails = Shapes::UnionShape.new(name: 'ConfigurationDetails')
111
114
  ConfiguredAudienceModelArn = Shapes::StringShape.new(name: 'ConfiguredAudienceModelArn')
112
115
  ConfiguredAudienceModelAssociation = Shapes::StructureShape.new(name: 'ConfiguredAudienceModelAssociation')
@@ -469,6 +472,9 @@ module Aws::CleanRooms
469
472
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
470
473
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
471
474
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
475
+ WorkerComputeConfiguration = Shapes::StructureShape.new(name: 'WorkerComputeConfiguration')
476
+ WorkerComputeConfigurationNumberInteger = Shapes::IntegerShape.new(name: 'WorkerComputeConfigurationNumberInteger')
477
+ WorkerComputeType = Shapes::StringShape.new(name: 'WorkerComputeType')
472
478
 
473
479
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
474
480
  AccessDeniedException.add_member(:reason, Shapes::ShapeRef.new(shape: AccessDeniedExceptionReason, location_name: "reason"))
@@ -668,6 +674,9 @@ module Aws::CleanRooms
668
674
  BatchGetSchemaOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetSchemaErrorList, required: true, location_name: "errors"))
669
675
  BatchGetSchemaOutput.struct_class = Types::BatchGetSchemaOutput
670
676
 
677
+ BilledResourceUtilization.add_member(:units, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "units"))
678
+ BilledResourceUtilization.struct_class = Types::BilledResourceUtilization
679
+
671
680
  Collaboration.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
672
681
  Collaboration.add_member(:arn, Shapes::ShapeRef.new(shape: CollaborationArn, required: true, location_name: "arn"))
673
682
  Collaboration.add_member(:name, Shapes::ShapeRef.new(shape: CollaborationName, required: true, location_name: "name"))
@@ -681,6 +690,7 @@ module Aws::CleanRooms
681
690
  Collaboration.add_member(:membership_arn, Shapes::ShapeRef.new(shape: MembershipArn, location_name: "membershipArn"))
682
691
  Collaboration.add_member(:data_encryption_metadata, Shapes::ShapeRef.new(shape: DataEncryptionMetadata, location_name: "dataEncryptionMetadata"))
683
692
  Collaboration.add_member(:query_log_status, Shapes::ShapeRef.new(shape: CollaborationQueryLogStatus, required: true, location_name: "queryLogStatus"))
693
+ Collaboration.add_member(:analytics_engine, Shapes::ShapeRef.new(shape: AnalyticsEngine, location_name: "analyticsEngine"))
684
694
  Collaboration.struct_class = Types::Collaboration
685
695
 
686
696
  CollaborationAnalysisTemplate.add_member(:id, Shapes::ShapeRef.new(shape: AnalysisTemplateIdentifier, required: true, location_name: "id"))
@@ -816,6 +826,7 @@ module Aws::CleanRooms
816
826
  CollaborationSummary.add_member(:member_status, Shapes::ShapeRef.new(shape: MemberStatus, required: true, location_name: "memberStatus"))
817
827
  CollaborationSummary.add_member(:membership_id, Shapes::ShapeRef.new(shape: UUID, location_name: "membershipId"))
818
828
  CollaborationSummary.add_member(:membership_arn, Shapes::ShapeRef.new(shape: MembershipArn, location_name: "membershipArn"))
829
+ CollaborationSummary.add_member(:analytics_engine, Shapes::ShapeRef.new(shape: AnalyticsEngine, location_name: "analyticsEngine"))
819
830
  CollaborationSummary.struct_class = Types::CollaborationSummary
820
831
 
821
832
  CollaborationSummaryList.member = Shapes::ShapeRef.new(shape: CollaborationSummary)
@@ -826,6 +837,12 @@ module Aws::CleanRooms
826
837
 
827
838
  ColumnList.member = Shapes::ShapeRef.new(shape: Column)
828
839
 
840
+ ComputeConfiguration.add_member(:worker, Shapes::ShapeRef.new(shape: WorkerComputeConfiguration, location_name: "worker"))
841
+ ComputeConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
842
+ ComputeConfiguration.add_member_subclass(:worker, Types::ComputeConfiguration::Worker)
843
+ ComputeConfiguration.add_member_subclass(:unknown, Types::ComputeConfiguration::Unknown)
844
+ ComputeConfiguration.struct_class = Types::ComputeConfiguration
845
+
829
846
  ConfigurationDetails.add_member(:direct_analysis_configuration_details, Shapes::ShapeRef.new(shape: DirectAnalysisConfigurationDetails, location_name: "directAnalysisConfigurationDetails"))
830
847
  ConfigurationDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
831
848
  ConfigurationDetails.add_member_subclass(:direct_analysis_configuration_details, Types::ConfigurationDetails::DirectAnalysisConfigurationDetails)
@@ -1002,6 +1019,7 @@ module Aws::CleanRooms
1002
1019
  CreateCollaborationInput.add_member(:query_log_status, Shapes::ShapeRef.new(shape: CollaborationQueryLogStatus, required: true, location_name: "queryLogStatus"))
1003
1020
  CreateCollaborationInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1004
1021
  CreateCollaborationInput.add_member(:creator_payment_configuration, Shapes::ShapeRef.new(shape: PaymentConfiguration, location_name: "creatorPaymentConfiguration"))
1022
+ CreateCollaborationInput.add_member(:analytics_engine, Shapes::ShapeRef.new(shape: AnalyticsEngine, location_name: "analyticsEngine"))
1005
1023
  CreateCollaborationInput.struct_class = Types::CreateCollaborationInput
1006
1024
 
1007
1025
  CreateCollaborationOutput.add_member(:collaboration, Shapes::ShapeRef.new(shape: Collaboration, required: true, location_name: "collaboration"))
@@ -1811,6 +1829,7 @@ module Aws::CleanRooms
1811
1829
  ProtectedQuery.add_member(:result, Shapes::ShapeRef.new(shape: ProtectedQueryResult, location_name: "result"))
1812
1830
  ProtectedQuery.add_member(:error, Shapes::ShapeRef.new(shape: ProtectedQueryError, location_name: "error"))
1813
1831
  ProtectedQuery.add_member(:differential_privacy, Shapes::ShapeRef.new(shape: DifferentialPrivacyParameters, location_name: "differentialPrivacy"))
1832
+ ProtectedQuery.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ComputeConfiguration, location_name: "computeConfiguration"))
1814
1833
  ProtectedQuery.struct_class = Types::ProtectedQuery
1815
1834
 
1816
1835
  ProtectedQueryError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -1850,6 +1869,7 @@ module Aws::CleanRooms
1850
1869
  ProtectedQueryS3OutputConfiguration.add_member(:result_format, Shapes::ShapeRef.new(shape: ResultFormat, required: true, location_name: "resultFormat"))
1851
1870
  ProtectedQueryS3OutputConfiguration.add_member(:bucket, Shapes::ShapeRef.new(shape: ProtectedQueryS3OutputConfigurationBucketString, required: true, location_name: "bucket"))
1852
1871
  ProtectedQueryS3OutputConfiguration.add_member(:key_prefix, Shapes::ShapeRef.new(shape: KeyPrefix, location_name: "keyPrefix"))
1872
+ ProtectedQueryS3OutputConfiguration.add_member(:single_file_output, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleFileOutput"))
1853
1873
  ProtectedQueryS3OutputConfiguration.struct_class = Types::ProtectedQueryS3OutputConfiguration
1854
1874
 
1855
1875
  ProtectedQuerySQLParameters.add_member(:query_string, Shapes::ShapeRef.new(shape: ProtectedQuerySQLParametersQueryStringString, location_name: "queryString"))
@@ -1861,6 +1881,7 @@ module Aws::CleanRooms
1861
1881
  ProtectedQuerySingleMemberOutput.struct_class = Types::ProtectedQuerySingleMemberOutput
1862
1882
 
1863
1883
  ProtectedQueryStatistics.add_member(:total_duration_in_millis, Shapes::ShapeRef.new(shape: Long, location_name: "totalDurationInMillis"))
1884
+ ProtectedQueryStatistics.add_member(:billed_resource_utilization, Shapes::ShapeRef.new(shape: BilledResourceUtilization, location_name: "billedResourceUtilization"))
1864
1885
  ProtectedQueryStatistics.struct_class = Types::ProtectedQueryStatistics
1865
1886
 
1866
1887
  ProtectedQuerySummary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
@@ -1975,6 +1996,7 @@ module Aws::CleanRooms
1975
1996
  StartProtectedQueryInput.add_member(:membership_identifier, Shapes::ShapeRef.new(shape: MembershipIdentifier, required: true, location: "uri", location_name: "membershipIdentifier"))
1976
1997
  StartProtectedQueryInput.add_member(:sql_parameters, Shapes::ShapeRef.new(shape: ProtectedQuerySQLParameters, required: true, location_name: "sqlParameters"))
1977
1998
  StartProtectedQueryInput.add_member(:result_configuration, Shapes::ShapeRef.new(shape: ProtectedQueryResultConfiguration, location_name: "resultConfiguration"))
1999
+ StartProtectedQueryInput.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ComputeConfiguration, location_name: "computeConfiguration"))
1978
2000
  StartProtectedQueryInput.struct_class = Types::StartProtectedQueryInput
1979
2001
 
1980
2002
  StartProtectedQueryOutput.add_member(:protected_query, Shapes::ShapeRef.new(shape: ProtectedQuery, required: true, location_name: "protectedQuery"))
@@ -2122,6 +2144,10 @@ module Aws::CleanRooms
2122
2144
 
2123
2145
  ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
2124
2146
 
2147
+ WorkerComputeConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: WorkerComputeType, location_name: "type"))
2148
+ WorkerComputeConfiguration.add_member(:number, Shapes::ShapeRef.new(shape: WorkerComputeConfigurationNumberInteger, location_name: "number"))
2149
+ WorkerComputeConfiguration.struct_class = Types::WorkerComputeConfiguration
2150
+
2125
2151
 
2126
2152
  # @api private
2127
2153
  API = Seahorse::Model::Api.new.tap do |api|
@@ -3090,6 +3116,7 @@ module Aws::CleanRooms
3090
3116
  o.input = Shapes::ShapeRef.new(shape: PopulateIdMappingTableInput)
3091
3117
  o.output = Shapes::ShapeRef.new(shape: PopulateIdMappingTableOutput)
3092
3118
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3119
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3093
3120
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3094
3121
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3095
3122
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
@@ -52,15 +52,18 @@ module Aws::CleanRooms
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end