aws-sdk-datazone 1.26.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,7 +57,9 @@ module Aws::DataZone
57
57
  AssetTargetNameMap = Shapes::StructureShape.new(name: 'AssetTargetNameMap')
58
58
  AssetTargetNames = Shapes::ListShape.new(name: 'AssetTargetNames')
59
59
  AssetTypeIdentifier = Shapes::StringShape.new(name: 'AssetTypeIdentifier')
60
+ AssetTypeIdentifiers = Shapes::ListShape.new(name: 'AssetTypeIdentifiers')
60
61
  AssetTypeItem = Shapes::StructureShape.new(name: 'AssetTypeItem')
62
+ AssetTypesForRule = Shapes::StructureShape.new(name: 'AssetTypesForRule')
61
63
  AssociateEnvironmentRoleInput = Shapes::StructureShape.new(name: 'AssociateEnvironmentRoleInput')
62
64
  AssociateEnvironmentRoleOutput = Shapes::StructureShape.new(name: 'AssociateEnvironmentRoleOutput')
63
65
  Attribute = Shapes::StringShape.new(name: 'Attribute')
@@ -127,6 +129,8 @@ module Aws::DataZone
127
129
  CreateProjectMembershipOutput = Shapes::StructureShape.new(name: 'CreateProjectMembershipOutput')
128
130
  CreateProjectOutput = Shapes::StructureShape.new(name: 'CreateProjectOutput')
129
131
  CreateProjectPolicyGrantDetail = Shapes::StructureShape.new(name: 'CreateProjectPolicyGrantDetail')
132
+ CreateRuleInput = Shapes::StructureShape.new(name: 'CreateRuleInput')
133
+ CreateRuleOutput = Shapes::StructureShape.new(name: 'CreateRuleOutput')
130
134
  CreateSubscriptionGrantInput = Shapes::StructureShape.new(name: 'CreateSubscriptionGrantInput')
131
135
  CreateSubscriptionGrantOutput = Shapes::StructureShape.new(name: 'CreateSubscriptionGrantOutput')
132
136
  CreateSubscriptionRequestInput = Shapes::StructureShape.new(name: 'CreateSubscriptionRequestInput')
@@ -207,6 +211,8 @@ module Aws::DataZone
207
211
  DeleteProjectMembershipInput = Shapes::StructureShape.new(name: 'DeleteProjectMembershipInput')
208
212
  DeleteProjectMembershipOutput = Shapes::StructureShape.new(name: 'DeleteProjectMembershipOutput')
209
213
  DeleteProjectOutput = Shapes::StructureShape.new(name: 'DeleteProjectOutput')
214
+ DeleteRuleInput = Shapes::StructureShape.new(name: 'DeleteRuleInput')
215
+ DeleteRuleOutput = Shapes::StructureShape.new(name: 'DeleteRuleOutput')
210
216
  DeleteSubscriptionGrantInput = Shapes::StructureShape.new(name: 'DeleteSubscriptionGrantInput')
211
217
  DeleteSubscriptionGrantOutput = Shapes::StructureShape.new(name: 'DeleteSubscriptionGrantOutput')
212
218
  DeleteSubscriptionRequestInput = Shapes::StructureShape.new(name: 'DeleteSubscriptionRequestInput')
@@ -245,6 +251,7 @@ module Aws::DataZone
245
251
  DomainUnitPolicyGrantPrincipal = Shapes::StructureShape.new(name: 'DomainUnitPolicyGrantPrincipal')
246
252
  DomainUnitSummaries = Shapes::ListShape.new(name: 'DomainUnitSummaries')
247
253
  DomainUnitSummary = Shapes::StructureShape.new(name: 'DomainUnitSummary')
254
+ DomainUnitTarget = Shapes::StructureShape.new(name: 'DomainUnitTarget')
248
255
  DomainUnitUserProperties = Shapes::StructureShape.new(name: 'DomainUnitUserProperties')
249
256
  EdgeDirection = Shapes::StringShape.new(name: 'EdgeDirection')
250
257
  EditedValue = Shapes::StringShape.new(name: 'EditedValue')
@@ -355,6 +362,8 @@ module Aws::DataZone
355
362
  GetMetadataGenerationRunOutput = Shapes::StructureShape.new(name: 'GetMetadataGenerationRunOutput')
356
363
  GetProjectInput = Shapes::StructureShape.new(name: 'GetProjectInput')
357
364
  GetProjectOutput = Shapes::StructureShape.new(name: 'GetProjectOutput')
365
+ GetRuleInput = Shapes::StructureShape.new(name: 'GetRuleInput')
366
+ GetRuleOutput = Shapes::StructureShape.new(name: 'GetRuleOutput')
358
367
  GetSubscriptionGrantInput = Shapes::StructureShape.new(name: 'GetSubscriptionGrantInput')
359
368
  GetSubscriptionGrantOutput = Shapes::StructureShape.new(name: 'GetSubscriptionGrantOutput')
360
369
  GetSubscriptionInput = Shapes::StructureShape.new(name: 'GetSubscriptionInput')
@@ -465,6 +474,9 @@ module Aws::DataZone
465
474
  ListProjectMembershipsOutput = Shapes::StructureShape.new(name: 'ListProjectMembershipsOutput')
466
475
  ListProjectsInput = Shapes::StructureShape.new(name: 'ListProjectsInput')
467
476
  ListProjectsOutput = Shapes::StructureShape.new(name: 'ListProjectsOutput')
477
+ ListRulesInput = Shapes::StructureShape.new(name: 'ListRulesInput')
478
+ ListRulesInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRulesInputMaxResultsInteger')
479
+ ListRulesOutput = Shapes::StructureShape.new(name: 'ListRulesOutput')
468
480
  ListSubscriptionGrantsInput = Shapes::StructureShape.new(name: 'ListSubscriptionGrantsInput')
469
481
  ListSubscriptionGrantsOutput = Shapes::StructureShape.new(name: 'ListSubscriptionGrantsOutput')
470
482
  ListSubscriptionRequestsInput = Shapes::StructureShape.new(name: 'ListSubscriptionRequestsInput')
@@ -494,6 +506,12 @@ module Aws::DataZone
494
506
  Member = Shapes::UnionShape.new(name: 'Member')
495
507
  MemberDetails = Shapes::UnionShape.new(name: 'MemberDetails')
496
508
  Message = Shapes::StringShape.new(name: 'Message')
509
+ MetadataFormEnforcementDetail = Shapes::StructureShape.new(name: 'MetadataFormEnforcementDetail')
510
+ MetadataFormInputs = Shapes::ListShape.new(name: 'MetadataFormInputs')
511
+ MetadataFormReference = Shapes::StructureShape.new(name: 'MetadataFormReference')
512
+ MetadataFormSummary = Shapes::StructureShape.new(name: 'MetadataFormSummary')
513
+ MetadataForms = Shapes::ListShape.new(name: 'MetadataForms')
514
+ MetadataFormsSummary = Shapes::ListShape.new(name: 'MetadataFormsSummary')
497
515
  MetadataGenerationRunIdentifier = Shapes::StringShape.new(name: 'MetadataGenerationRunIdentifier')
498
516
  MetadataGenerationRunItem = Shapes::StructureShape.new(name: 'MetadataGenerationRunItem')
499
517
  MetadataGenerationRunStatus = Shapes::StringShape.new(name: 'MetadataGenerationRunStatus')
@@ -537,6 +555,7 @@ module Aws::DataZone
537
555
  ProjectDesignation = Shapes::StringShape.new(name: 'ProjectDesignation')
538
556
  ProjectGrantFilter = Shapes::UnionShape.new(name: 'ProjectGrantFilter')
539
557
  ProjectId = Shapes::StringShape.new(name: 'ProjectId')
558
+ ProjectIds = Shapes::ListShape.new(name: 'ProjectIds')
540
559
  ProjectMember = Shapes::StructureShape.new(name: 'ProjectMember')
541
560
  ProjectMembers = Shapes::ListShape.new(name: 'ProjectMembers')
542
561
  ProjectName = Shapes::StringShape.new(name: 'ProjectName')
@@ -544,6 +563,7 @@ module Aws::DataZone
544
563
  ProjectStatus = Shapes::StringShape.new(name: 'ProjectStatus')
545
564
  ProjectSummaries = Shapes::ListShape.new(name: 'ProjectSummaries')
546
565
  ProjectSummary = Shapes::StructureShape.new(name: 'ProjectSummary')
566
+ ProjectsForRule = Shapes::StructureShape.new(name: 'ProjectsForRule')
547
567
  ProvisioningConfiguration = Shapes::UnionShape.new(name: 'ProvisioningConfiguration')
548
568
  ProvisioningConfigurationList = Shapes::ListShape.new(name: 'ProvisioningConfigurationList')
549
569
  ProvisioningProperties = Shapes::UnionShape.new(name: 'ProvisioningProperties')
@@ -586,10 +606,12 @@ module Aws::DataZone
586
606
  RemovePolicyGrantInput = Shapes::StructureShape.new(name: 'RemovePolicyGrantInput')
587
607
  RemovePolicyGrantOutput = Shapes::StructureShape.new(name: 'RemovePolicyGrantOutput')
588
608
  RequestReason = Shapes::StringShape.new(name: 'RequestReason')
609
+ RequiredMetadataFormList = Shapes::ListShape.new(name: 'RequiredMetadataFormList')
589
610
  Resource = Shapes::StructureShape.new(name: 'Resource')
590
611
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
591
612
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
592
613
  Revision = Shapes::StringShape.new(name: 'Revision')
614
+ RevisionInput = Shapes::StringShape.new(name: 'RevisionInput')
593
615
  RevokeSubscriptionInput = Shapes::StructureShape.new(name: 'RevokeSubscriptionInput')
594
616
  RevokeSubscriptionOutput = Shapes::StructureShape.new(name: 'RevokeSubscriptionOutput')
595
617
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
@@ -597,6 +619,19 @@ module Aws::DataZone
597
619
  RowFilterConfiguration = Shapes::StructureShape.new(name: 'RowFilterConfiguration')
598
620
  RowFilterExpression = Shapes::UnionShape.new(name: 'RowFilterExpression')
599
621
  RowFilterList = Shapes::ListShape.new(name: 'RowFilterList')
622
+ RuleAction = Shapes::StringShape.new(name: 'RuleAction')
623
+ RuleAssetTypeList = Shapes::ListShape.new(name: 'RuleAssetTypeList')
624
+ RuleDetail = Shapes::UnionShape.new(name: 'RuleDetail')
625
+ RuleId = Shapes::StringShape.new(name: 'RuleId')
626
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
627
+ RuleProjectIdentifierList = Shapes::ListShape.new(name: 'RuleProjectIdentifierList')
628
+ RuleScope = Shapes::StructureShape.new(name: 'RuleScope')
629
+ RuleScopeSelectionMode = Shapes::StringShape.new(name: 'RuleScopeSelectionMode')
630
+ RuleSummaries = Shapes::ListShape.new(name: 'RuleSummaries')
631
+ RuleSummary = Shapes::StructureShape.new(name: 'RuleSummary')
632
+ RuleTarget = Shapes::UnionShape.new(name: 'RuleTarget')
633
+ RuleTargetType = Shapes::StringShape.new(name: 'RuleTargetType')
634
+ RuleType = Shapes::StringShape.new(name: 'RuleType')
600
635
  RunStatisticsForAssets = Shapes::StructureShape.new(name: 'RunStatisticsForAssets')
601
636
  S3Location = Shapes::StringShape.new(name: 'S3Location')
602
637
  S3LocationList = Shapes::ListShape.new(name: 'S3LocationList')
@@ -735,6 +770,8 @@ module Aws::DataZone
735
770
  UpdateGroupProfileOutput = Shapes::StructureShape.new(name: 'UpdateGroupProfileOutput')
736
771
  UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
737
772
  UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
773
+ UpdateRuleInput = Shapes::StructureShape.new(name: 'UpdateRuleInput')
774
+ UpdateRuleOutput = Shapes::StructureShape.new(name: 'UpdateRuleOutput')
738
775
  UpdateSubscriptionGrantStatusInput = Shapes::StructureShape.new(name: 'UpdateSubscriptionGrantStatusInput')
739
776
  UpdateSubscriptionGrantStatusOutput = Shapes::StructureShape.new(name: 'UpdateSubscriptionGrantStatusOutput')
740
777
  UpdateSubscriptionRequestInput = Shapes::StructureShape.new(name: 'UpdateSubscriptionRequestInput')
@@ -798,7 +835,9 @@ module Aws::DataZone
798
835
  AcceptSubscriptionRequestOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
799
836
  AcceptSubscriptionRequestOutput.add_member(:decision_comment, Shapes::ShapeRef.new(shape: DecisionComment, location_name: "decisionComment"))
800
837
  AcceptSubscriptionRequestOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
838
+ AcceptSubscriptionRequestOutput.add_member(:existing_subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "existingSubscriptionId"))
801
839
  AcceptSubscriptionRequestOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionRequestId, required: true, location_name: "id"))
840
+ AcceptSubscriptionRequestOutput.add_member(:metadata_forms, Shapes::ShapeRef.new(shape: MetadataForms, location_name: "metadataForms"))
802
841
  AcceptSubscriptionRequestOutput.add_member(:request_reason, Shapes::ShapeRef.new(shape: RequestReason, required: true, location_name: "requestReason"))
803
842
  AcceptSubscriptionRequestOutput.add_member(:reviewer_id, Shapes::ShapeRef.new(shape: String, location_name: "reviewerId"))
804
843
  AcceptSubscriptionRequestOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionRequestStatus, required: true, location_name: "status"))
@@ -960,6 +999,8 @@ module Aws::DataZone
960
999
 
961
1000
  AssetTargetNames.member = Shapes::ShapeRef.new(shape: AssetTargetNameMap)
962
1001
 
1002
+ AssetTypeIdentifiers.member = Shapes::ShapeRef.new(shape: AssetTypeIdentifier)
1003
+
963
1004
  AssetTypeItem.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
964
1005
  AssetTypeItem.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
965
1006
  AssetTypeItem.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -974,6 +1015,10 @@ module Aws::DataZone
974
1015
  AssetTypeItem.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy"))
975
1016
  AssetTypeItem.struct_class = Types::AssetTypeItem
976
1017
 
1018
+ AssetTypesForRule.add_member(:selection_mode, Shapes::ShapeRef.new(shape: RuleScopeSelectionMode, required: true, location_name: "selectionMode"))
1019
+ AssetTypesForRule.add_member(:specific_asset_types, Shapes::ShapeRef.new(shape: RuleAssetTypeList, location_name: "specificAssetTypes"))
1020
+ AssetTypesForRule.struct_class = Types::AssetTypesForRule
1021
+
977
1022
  AssociateEnvironmentRoleInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
978
1023
  AssociateEnvironmentRoleInput.add_member(:environment_identifier, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location: "uri", location_name: "environmentIdentifier"))
979
1024
  AssociateEnvironmentRoleInput.add_member(:environment_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentRoleArn"))
@@ -1468,6 +1513,29 @@ module Aws::DataZone
1468
1513
  CreateProjectPolicyGrantDetail.add_member(:include_child_domain_units, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeChildDomainUnits"))
1469
1514
  CreateProjectPolicyGrantDetail.struct_class = Types::CreateProjectPolicyGrantDetail
1470
1515
 
1516
+ CreateRuleInput.add_member(:action, Shapes::ShapeRef.new(shape: RuleAction, required: true, location_name: "action"))
1517
+ CreateRuleInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1518
+ CreateRuleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1519
+ CreateRuleInput.add_member(:detail, Shapes::ShapeRef.new(shape: RuleDetail, required: true, location_name: "detail"))
1520
+ CreateRuleInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
1521
+ CreateRuleInput.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "name"))
1522
+ CreateRuleInput.add_member(:scope, Shapes::ShapeRef.new(shape: RuleScope, required: true, location_name: "scope"))
1523
+ CreateRuleInput.add_member(:target, Shapes::ShapeRef.new(shape: RuleTarget, required: true, location_name: "target"))
1524
+ CreateRuleInput.struct_class = Types::CreateRuleInput
1525
+
1526
+ CreateRuleOutput.add_member(:action, Shapes::ShapeRef.new(shape: RuleAction, required: true, location_name: "action"))
1527
+ CreateRuleOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, required: true, location_name: "createdAt"))
1528
+ CreateRuleOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
1529
+ CreateRuleOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1530
+ CreateRuleOutput.add_member(:detail, Shapes::ShapeRef.new(shape: RuleDetail, required: true, location_name: "detail"))
1531
+ CreateRuleOutput.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "identifier"))
1532
+ CreateRuleOutput.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "name"))
1533
+ CreateRuleOutput.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, required: true, location_name: "ruleType"))
1534
+ CreateRuleOutput.add_member(:scope, Shapes::ShapeRef.new(shape: RuleScope, required: true, location_name: "scope"))
1535
+ CreateRuleOutput.add_member(:target, Shapes::ShapeRef.new(shape: RuleTarget, required: true, location_name: "target"))
1536
+ CreateRuleOutput.add_member(:target_type, Shapes::ShapeRef.new(shape: RuleTargetType, location_name: "targetType"))
1537
+ CreateRuleOutput.struct_class = Types::CreateRuleOutput
1538
+
1471
1539
  CreateSubscriptionGrantInput.add_member(:asset_target_names, Shapes::ShapeRef.new(shape: AssetTargetNames, location_name: "assetTargetNames"))
1472
1540
  CreateSubscriptionGrantInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1473
1541
  CreateSubscriptionGrantInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
@@ -1491,6 +1559,7 @@ module Aws::DataZone
1491
1559
 
1492
1560
  CreateSubscriptionRequestInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1493
1561
  CreateSubscriptionRequestInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
1562
+ CreateSubscriptionRequestInput.add_member(:metadata_forms, Shapes::ShapeRef.new(shape: MetadataFormInputs, location_name: "metadataForms"))
1494
1563
  CreateSubscriptionRequestInput.add_member(:request_reason, Shapes::ShapeRef.new(shape: RequestReason, required: true, location_name: "requestReason"))
1495
1564
  CreateSubscriptionRequestInput.add_member(:subscribed_listings, Shapes::ShapeRef.new(shape: SubscribedListingInputs, required: true, location_name: "subscribedListings"))
1496
1565
  CreateSubscriptionRequestInput.add_member(:subscribed_principals, Shapes::ShapeRef.new(shape: SubscribedPrincipalInputs, required: true, location_name: "subscribedPrincipals"))
@@ -1500,7 +1569,9 @@ module Aws::DataZone
1500
1569
  CreateSubscriptionRequestOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
1501
1570
  CreateSubscriptionRequestOutput.add_member(:decision_comment, Shapes::ShapeRef.new(shape: DecisionComment, location_name: "decisionComment"))
1502
1571
  CreateSubscriptionRequestOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
1572
+ CreateSubscriptionRequestOutput.add_member(:existing_subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "existingSubscriptionId"))
1503
1573
  CreateSubscriptionRequestOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionRequestId, required: true, location_name: "id"))
1574
+ CreateSubscriptionRequestOutput.add_member(:metadata_forms, Shapes::ShapeRef.new(shape: MetadataForms, location_name: "metadataForms"))
1504
1575
  CreateSubscriptionRequestOutput.add_member(:request_reason, Shapes::ShapeRef.new(shape: RequestReason, required: true, location_name: "requestReason"))
1505
1576
  CreateSubscriptionRequestOutput.add_member(:reviewer_id, Shapes::ShapeRef.new(shape: String, location_name: "reviewerId"))
1506
1577
  CreateSubscriptionRequestOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionRequestStatus, required: true, location_name: "status"))
@@ -1812,6 +1883,12 @@ module Aws::DataZone
1812
1883
 
1813
1884
  DeleteProjectOutput.struct_class = Types::DeleteProjectOutput
1814
1885
 
1886
+ DeleteRuleInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
1887
+ DeleteRuleInput.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleId, required: true, location: "uri", location_name: "identifier"))
1888
+ DeleteRuleInput.struct_class = Types::DeleteRuleInput
1889
+
1890
+ DeleteRuleOutput.struct_class = Types::DeleteRuleOutput
1891
+
1815
1892
  DeleteSubscriptionGrantInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
1816
1893
  DeleteSubscriptionGrantInput.add_member(:identifier, Shapes::ShapeRef.new(shape: SubscriptionGrantId, required: true, location: "uri", location_name: "identifier"))
1817
1894
  DeleteSubscriptionGrantInput.struct_class = Types::DeleteSubscriptionGrantInput
@@ -1923,6 +2000,10 @@ module Aws::DataZone
1923
2000
  DomainUnitSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
1924
2001
  DomainUnitSummary.struct_class = Types::DomainUnitSummary
1925
2002
 
2003
+ DomainUnitTarget.add_member(:domain_unit_id, Shapes::ShapeRef.new(shape: DomainUnitId, required: true, location_name: "domainUnitId"))
2004
+ DomainUnitTarget.add_member(:include_child_domain_units, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeChildDomainUnits"))
2005
+ DomainUnitTarget.struct_class = Types::DomainUnitTarget
2006
+
1926
2007
  DomainUnitUserProperties.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
1927
2008
  DomainUnitUserProperties.struct_class = Types::DomainUnitUserProperties
1928
2009
 
@@ -2052,7 +2133,7 @@ module Aws::DataZone
2052
2133
  FormInput.add_member(:content, Shapes::ShapeRef.new(shape: FormInputContentString, location_name: "content"))
2053
2134
  FormInput.add_member(:form_name, Shapes::ShapeRef.new(shape: FormName, required: true, location_name: "formName"))
2054
2135
  FormInput.add_member(:type_identifier, Shapes::ShapeRef.new(shape: FormTypeIdentifier, location_name: "typeIdentifier"))
2055
- FormInput.add_member(:type_revision, Shapes::ShapeRef.new(shape: Revision, location_name: "typeRevision"))
2136
+ FormInput.add_member(:type_revision, Shapes::ShapeRef.new(shape: RevisionInput, location_name: "typeRevision"))
2056
2137
  FormInput.struct_class = Types::FormInput
2057
2138
 
2058
2139
  FormInputList.member = Shapes::ShapeRef.new(shape: FormInput)
@@ -2489,6 +2570,27 @@ module Aws::DataZone
2489
2570
  GetProjectOutput.add_member(:project_status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "projectStatus"))
2490
2571
  GetProjectOutput.struct_class = Types::GetProjectOutput
2491
2572
 
2573
+ GetRuleInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
2574
+ GetRuleInput.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleId, required: true, location: "uri", location_name: "identifier"))
2575
+ GetRuleInput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, location: "querystring", location_name: "revision"))
2576
+ GetRuleInput.struct_class = Types::GetRuleInput
2577
+
2578
+ GetRuleOutput.add_member(:action, Shapes::ShapeRef.new(shape: RuleAction, required: true, location_name: "action"))
2579
+ GetRuleOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, required: true, location_name: "createdAt"))
2580
+ GetRuleOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
2581
+ GetRuleOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2582
+ GetRuleOutput.add_member(:detail, Shapes::ShapeRef.new(shape: RuleDetail, required: true, location_name: "detail"))
2583
+ GetRuleOutput.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "identifier"))
2584
+ GetRuleOutput.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, required: true, location_name: "lastUpdatedBy"))
2585
+ GetRuleOutput.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "name"))
2586
+ GetRuleOutput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revision"))
2587
+ GetRuleOutput.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, required: true, location_name: "ruleType"))
2588
+ GetRuleOutput.add_member(:scope, Shapes::ShapeRef.new(shape: RuleScope, required: true, location_name: "scope"))
2589
+ GetRuleOutput.add_member(:target, Shapes::ShapeRef.new(shape: RuleTarget, required: true, location_name: "target"))
2590
+ GetRuleOutput.add_member(:target_type, Shapes::ShapeRef.new(shape: RuleTargetType, location_name: "targetType"))
2591
+ GetRuleOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt"))
2592
+ GetRuleOutput.struct_class = Types::GetRuleOutput
2593
+
2492
2594
  GetSubscriptionGrantInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
2493
2595
  GetSubscriptionGrantInput.add_member(:identifier, Shapes::ShapeRef.new(shape: SubscriptionGrantId, required: true, location: "uri", location_name: "identifier"))
2494
2596
  GetSubscriptionGrantInput.struct_class = Types::GetSubscriptionGrantInput
@@ -2531,7 +2633,9 @@ module Aws::DataZone
2531
2633
  GetSubscriptionRequestDetailsOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
2532
2634
  GetSubscriptionRequestDetailsOutput.add_member(:decision_comment, Shapes::ShapeRef.new(shape: DecisionComment, location_name: "decisionComment"))
2533
2635
  GetSubscriptionRequestDetailsOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
2636
+ GetSubscriptionRequestDetailsOutput.add_member(:existing_subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "existingSubscriptionId"))
2534
2637
  GetSubscriptionRequestDetailsOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionRequestId, required: true, location_name: "id"))
2638
+ GetSubscriptionRequestDetailsOutput.add_member(:metadata_forms, Shapes::ShapeRef.new(shape: MetadataForms, location_name: "metadataForms"))
2535
2639
  GetSubscriptionRequestDetailsOutput.add_member(:request_reason, Shapes::ShapeRef.new(shape: RequestReason, required: true, location_name: "requestReason"))
2536
2640
  GetSubscriptionRequestDetailsOutput.add_member(:reviewer_id, Shapes::ShapeRef.new(shape: String, location_name: "reviewerId"))
2537
2641
  GetSubscriptionRequestDetailsOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionRequestStatus, required: true, location_name: "status"))
@@ -2981,6 +3085,23 @@ module Aws::DataZone
2981
3085
  ListProjectsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
2982
3086
  ListProjectsOutput.struct_class = Types::ListProjectsOutput
2983
3087
 
3088
+ ListRulesInput.add_member(:action, Shapes::ShapeRef.new(shape: RuleAction, location: "querystring", location_name: "ruleAction"))
3089
+ ListRulesInput.add_member(:asset_types, Shapes::ShapeRef.new(shape: AssetTypeIdentifiers, location: "querystring", location_name: "assetTypes"))
3090
+ ListRulesInput.add_member(:data_product, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "dataProduct"))
3091
+ ListRulesInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
3092
+ ListRulesInput.add_member(:include_cascaded, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "includeCascaded"))
3093
+ ListRulesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRulesInputMaxResultsInteger, location: "querystring", location_name: "maxResults"))
3094
+ ListRulesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
3095
+ ListRulesInput.add_member(:project_ids, Shapes::ShapeRef.new(shape: ProjectIds, location: "querystring", location_name: "projectIds"))
3096
+ ListRulesInput.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, location: "querystring", location_name: "ruleType"))
3097
+ ListRulesInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "targetIdentifier"))
3098
+ ListRulesInput.add_member(:target_type, Shapes::ShapeRef.new(shape: RuleTargetType, required: true, location: "uri", location_name: "targetType"))
3099
+ ListRulesInput.struct_class = Types::ListRulesInput
3100
+
3101
+ ListRulesOutput.add_member(:items, Shapes::ShapeRef.new(shape: RuleSummaries, required: true, location_name: "items"))
3102
+ ListRulesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
3103
+ ListRulesOutput.struct_class = Types::ListRulesOutput
3104
+
2984
3105
  ListSubscriptionGrantsInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
2985
3106
  ListSubscriptionGrantsInput.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location: "querystring", location_name: "environmentId"))
2986
3107
  ListSubscriptionGrantsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -3106,6 +3227,24 @@ module Aws::DataZone
3106
3227
  MemberDetails.add_member_subclass(:unknown, Types::MemberDetails::Unknown)
3107
3228
  MemberDetails.struct_class = Types::MemberDetails
3108
3229
 
3230
+ MetadataFormEnforcementDetail.add_member(:required_metadata_forms, Shapes::ShapeRef.new(shape: RequiredMetadataFormList, location_name: "requiredMetadataForms"))
3231
+ MetadataFormEnforcementDetail.struct_class = Types::MetadataFormEnforcementDetail
3232
+
3233
+ MetadataFormInputs.member = Shapes::ShapeRef.new(shape: FormInput)
3234
+
3235
+ MetadataFormReference.add_member(:type_identifier, Shapes::ShapeRef.new(shape: FormTypeIdentifier, required: true, location_name: "typeIdentifier"))
3236
+ MetadataFormReference.add_member(:type_revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "typeRevision"))
3237
+ MetadataFormReference.struct_class = Types::MetadataFormReference
3238
+
3239
+ MetadataFormSummary.add_member(:form_name, Shapes::ShapeRef.new(shape: FormName, location_name: "formName"))
3240
+ MetadataFormSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: FormTypeName, required: true, location_name: "typeName"))
3241
+ MetadataFormSummary.add_member(:type_revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "typeRevision"))
3242
+ MetadataFormSummary.struct_class = Types::MetadataFormSummary
3243
+
3244
+ MetadataForms.member = Shapes::ShapeRef.new(shape: FormOutput)
3245
+
3246
+ MetadataFormsSummary.member = Shapes::ShapeRef.new(shape: MetadataFormSummary)
3247
+
3109
3248
  MetadataGenerationRunItem.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
3110
3249
  MetadataGenerationRunItem.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
3111
3250
  MetadataGenerationRunItem.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
@@ -3283,6 +3422,8 @@ module Aws::DataZone
3283
3422
  ProjectGrantFilter.add_member_subclass(:unknown, Types::ProjectGrantFilter::Unknown)
3284
3423
  ProjectGrantFilter.struct_class = Types::ProjectGrantFilter
3285
3424
 
3425
+ ProjectIds.member = Shapes::ShapeRef.new(shape: ProjectId)
3426
+
3286
3427
  ProjectMember.add_member(:designation, Shapes::ShapeRef.new(shape: UserDesignation, required: true, location_name: "designation"))
3287
3428
  ProjectMember.add_member(:member_details, Shapes::ShapeRef.new(shape: MemberDetails, required: true, location_name: "memberDetails"))
3288
3429
  ProjectMember.struct_class = Types::ProjectMember
@@ -3308,6 +3449,10 @@ module Aws::DataZone
3308
3449
  ProjectSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
3309
3450
  ProjectSummary.struct_class = Types::ProjectSummary
3310
3451
 
3452
+ ProjectsForRule.add_member(:selection_mode, Shapes::ShapeRef.new(shape: RuleScopeSelectionMode, required: true, location_name: "selectionMode"))
3453
+ ProjectsForRule.add_member(:specific_projects, Shapes::ShapeRef.new(shape: RuleProjectIdentifierList, location_name: "specificProjects"))
3454
+ ProjectsForRule.struct_class = Types::ProjectsForRule
3455
+
3311
3456
  ProvisioningConfiguration.add_member(:lake_formation_configuration, Shapes::ShapeRef.new(shape: LakeFormationConfiguration, location_name: "lakeFormationConfiguration"))
3312
3457
  ProvisioningConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3313
3458
  ProvisioningConfiguration.add_member_subclass(:lake_formation_configuration, Types::ProvisioningConfiguration::LakeFormationConfiguration)
@@ -3417,7 +3562,9 @@ module Aws::DataZone
3417
3562
  RejectSubscriptionRequestOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
3418
3563
  RejectSubscriptionRequestOutput.add_member(:decision_comment, Shapes::ShapeRef.new(shape: DecisionComment, location_name: "decisionComment"))
3419
3564
  RejectSubscriptionRequestOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
3565
+ RejectSubscriptionRequestOutput.add_member(:existing_subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "existingSubscriptionId"))
3420
3566
  RejectSubscriptionRequestOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionRequestId, required: true, location_name: "id"))
3567
+ RejectSubscriptionRequestOutput.add_member(:metadata_forms, Shapes::ShapeRef.new(shape: MetadataForms, location_name: "metadataForms"))
3421
3568
  RejectSubscriptionRequestOutput.add_member(:request_reason, Shapes::ShapeRef.new(shape: RequestReason, required: true, location_name: "requestReason"))
3422
3569
  RejectSubscriptionRequestOutput.add_member(:reviewer_id, Shapes::ShapeRef.new(shape: String, location_name: "reviewerId"))
3423
3570
  RejectSubscriptionRequestOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionRequestStatus, required: true, location_name: "status"))
@@ -3457,6 +3604,8 @@ module Aws::DataZone
3457
3604
 
3458
3605
  RemovePolicyGrantOutput.struct_class = Types::RemovePolicyGrantOutput
3459
3606
 
3607
+ RequiredMetadataFormList.member = Shapes::ShapeRef.new(shape: MetadataFormReference)
3608
+
3460
3609
  Resource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
3461
3610
  Resource.add_member(:provider, Shapes::ShapeRef.new(shape: String, location_name: "provider"))
3462
3611
  Resource.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
@@ -3530,6 +3679,41 @@ module Aws::DataZone
3530
3679
 
3531
3680
  RowFilterList.member = Shapes::ShapeRef.new(shape: RowFilter)
3532
3681
 
3682
+ RuleAssetTypeList.member = Shapes::ShapeRef.new(shape: AssetTypeIdentifier)
3683
+
3684
+ RuleDetail.add_member(:metadata_form_enforcement_detail, Shapes::ShapeRef.new(shape: MetadataFormEnforcementDetail, location_name: "metadataFormEnforcementDetail"))
3685
+ RuleDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3686
+ RuleDetail.add_member_subclass(:metadata_form_enforcement_detail, Types::RuleDetail::MetadataFormEnforcementDetail)
3687
+ RuleDetail.add_member_subclass(:unknown, Types::RuleDetail::Unknown)
3688
+ RuleDetail.struct_class = Types::RuleDetail
3689
+
3690
+ RuleProjectIdentifierList.member = Shapes::ShapeRef.new(shape: ProjectId)
3691
+
3692
+ RuleScope.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetTypesForRule, location_name: "assetType"))
3693
+ RuleScope.add_member(:data_product, Shapes::ShapeRef.new(shape: Boolean, location_name: "dataProduct"))
3694
+ RuleScope.add_member(:project, Shapes::ShapeRef.new(shape: ProjectsForRule, location_name: "project"))
3695
+ RuleScope.struct_class = Types::RuleScope
3696
+
3697
+ RuleSummaries.member = Shapes::ShapeRef.new(shape: RuleSummary)
3698
+
3699
+ RuleSummary.add_member(:action, Shapes::ShapeRef.new(shape: RuleAction, location_name: "action"))
3700
+ RuleSummary.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleId, location_name: "identifier"))
3701
+ RuleSummary.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "lastUpdatedBy"))
3702
+ RuleSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "name"))
3703
+ RuleSummary.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, location_name: "revision"))
3704
+ RuleSummary.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, location_name: "ruleType"))
3705
+ RuleSummary.add_member(:scope, Shapes::ShapeRef.new(shape: RuleScope, location_name: "scope"))
3706
+ RuleSummary.add_member(:target, Shapes::ShapeRef.new(shape: RuleTarget, location_name: "target"))
3707
+ RuleSummary.add_member(:target_type, Shapes::ShapeRef.new(shape: RuleTargetType, location_name: "targetType"))
3708
+ RuleSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, location_name: "updatedAt"))
3709
+ RuleSummary.struct_class = Types::RuleSummary
3710
+
3711
+ RuleTarget.add_member(:domain_unit_target, Shapes::ShapeRef.new(shape: DomainUnitTarget, location_name: "domainUnitTarget"))
3712
+ RuleTarget.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
3713
+ RuleTarget.add_member_subclass(:domain_unit_target, Types::RuleTarget::DomainUnitTarget)
3714
+ RuleTarget.add_member_subclass(:unknown, Types::RuleTarget::Unknown)
3715
+ RuleTarget.struct_class = Types::RuleTarget
3716
+
3533
3717
  RunStatisticsForAssets.add_member(:added, Shapes::ShapeRef.new(shape: Integer, location_name: "added"))
3534
3718
  RunStatisticsForAssets.add_member(:failed, Shapes::ShapeRef.new(shape: Integer, location_name: "failed"))
3535
3719
  RunStatisticsForAssets.add_member(:skipped, Shapes::ShapeRef.new(shape: Integer, location_name: "skipped"))
@@ -3816,7 +4000,9 @@ module Aws::DataZone
3816
4000
  SubscriptionRequestSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
3817
4001
  SubscriptionRequestSummary.add_member(:decision_comment, Shapes::ShapeRef.new(shape: DecisionComment, location_name: "decisionComment"))
3818
4002
  SubscriptionRequestSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
4003
+ SubscriptionRequestSummary.add_member(:existing_subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "existingSubscriptionId"))
3819
4004
  SubscriptionRequestSummary.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionRequestId, required: true, location_name: "id"))
4005
+ SubscriptionRequestSummary.add_member(:metadata_forms_summary, Shapes::ShapeRef.new(shape: MetadataFormsSummary, location_name: "metadataFormsSummary"))
3820
4006
  SubscriptionRequestSummary.add_member(:request_reason, Shapes::ShapeRef.new(shape: RequestReason, required: true, location_name: "requestReason"))
3821
4007
  SubscriptionRequestSummary.add_member(:reviewer_id, Shapes::ShapeRef.new(shape: String, location_name: "reviewerId"))
3822
4008
  SubscriptionRequestSummary.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionRequestStatus, required: true, location_name: "status"))
@@ -4168,6 +4354,30 @@ module Aws::DataZone
4168
4354
  UpdateProjectOutput.add_member(:project_status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "projectStatus"))
4169
4355
  UpdateProjectOutput.struct_class = Types::UpdateProjectOutput
4170
4356
 
4357
+ UpdateRuleInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
4358
+ UpdateRuleInput.add_member(:detail, Shapes::ShapeRef.new(shape: RuleDetail, location_name: "detail"))
4359
+ UpdateRuleInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
4360
+ UpdateRuleInput.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleId, required: true, location: "uri", location_name: "identifier"))
4361
+ UpdateRuleInput.add_member(:include_child_domain_units, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeChildDomainUnits"))
4362
+ UpdateRuleInput.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "name"))
4363
+ UpdateRuleInput.add_member(:scope, Shapes::ShapeRef.new(shape: RuleScope, location_name: "scope"))
4364
+ UpdateRuleInput.struct_class = Types::UpdateRuleInput
4365
+
4366
+ UpdateRuleOutput.add_member(:action, Shapes::ShapeRef.new(shape: RuleAction, required: true, location_name: "action"))
4367
+ UpdateRuleOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, required: true, location_name: "createdAt"))
4368
+ UpdateRuleOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
4369
+ UpdateRuleOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
4370
+ UpdateRuleOutput.add_member(:detail, Shapes::ShapeRef.new(shape: RuleDetail, required: true, location_name: "detail"))
4371
+ UpdateRuleOutput.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "identifier"))
4372
+ UpdateRuleOutput.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, required: true, location_name: "lastUpdatedBy"))
4373
+ UpdateRuleOutput.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "name"))
4374
+ UpdateRuleOutput.add_member(:revision, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revision"))
4375
+ UpdateRuleOutput.add_member(:rule_type, Shapes::ShapeRef.new(shape: RuleType, required: true, location_name: "ruleType"))
4376
+ UpdateRuleOutput.add_member(:scope, Shapes::ShapeRef.new(shape: RuleScope, required: true, location_name: "scope"))
4377
+ UpdateRuleOutput.add_member(:target, Shapes::ShapeRef.new(shape: RuleTarget, required: true, location_name: "target"))
4378
+ UpdateRuleOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt"))
4379
+ UpdateRuleOutput.struct_class = Types::UpdateRuleOutput
4380
+
4171
4381
  UpdateSubscriptionGrantStatusInput.add_member(:asset_identifier, Shapes::ShapeRef.new(shape: AssetId, required: true, location: "uri", location_name: "assetIdentifier"))
4172
4382
  UpdateSubscriptionGrantStatusInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
4173
4383
  UpdateSubscriptionGrantStatusInput.add_member(:failure_cause, Shapes::ShapeRef.new(shape: FailureCause, location_name: "failureCause"))
@@ -4198,7 +4408,9 @@ module Aws::DataZone
4198
4408
  UpdateSubscriptionRequestOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
4199
4409
  UpdateSubscriptionRequestOutput.add_member(:decision_comment, Shapes::ShapeRef.new(shape: DecisionComment, location_name: "decisionComment"))
4200
4410
  UpdateSubscriptionRequestOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
4411
+ UpdateSubscriptionRequestOutput.add_member(:existing_subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "existingSubscriptionId"))
4201
4412
  UpdateSubscriptionRequestOutput.add_member(:id, Shapes::ShapeRef.new(shape: SubscriptionRequestId, required: true, location_name: "id"))
4413
+ UpdateSubscriptionRequestOutput.add_member(:metadata_forms, Shapes::ShapeRef.new(shape: MetadataForms, location_name: "metadataForms"))
4202
4414
  UpdateSubscriptionRequestOutput.add_member(:request_reason, Shapes::ShapeRef.new(shape: RequestReason, required: true, location_name: "requestReason"))
4203
4415
  UpdateSubscriptionRequestOutput.add_member(:reviewer_id, Shapes::ShapeRef.new(shape: String, location_name: "reviewerId"))
4204
4416
  UpdateSubscriptionRequestOutput.add_member(:status, Shapes::ShapeRef.new(shape: SubscriptionRequestStatus, required: true, location_name: "status"))
@@ -4700,6 +4912,22 @@ module Aws::DataZone
4700
4912
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4701
4913
  end)
4702
4914
 
4915
+ api.add_operation(:create_rule, Seahorse::Model::Operation.new.tap do |o|
4916
+ o.name = "CreateRule"
4917
+ o.http_method = "POST"
4918
+ o.http_request_uri = "/v2/domains/{domainIdentifier}/rules"
4919
+ o.input = Shapes::ShapeRef.new(shape: CreateRuleInput)
4920
+ o.output = Shapes::ShapeRef.new(shape: CreateRuleOutput)
4921
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4922
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4923
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4924
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4925
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4926
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4927
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4928
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4929
+ end)
4930
+
4703
4931
  api.add_operation(:create_subscription_grant, Seahorse::Model::Operation.new.tap do |o|
4704
4932
  o.name = "CreateSubscriptionGrant"
4705
4933
  o.http_method = "POST"
@@ -5010,6 +5238,21 @@ module Aws::DataZone
5010
5238
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5011
5239
  end)
5012
5240
 
5241
+ api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
5242
+ o.name = "DeleteRule"
5243
+ o.http_method = "DELETE"
5244
+ o.http_request_uri = "/v2/domains/{domainIdentifier}/rules/{identifier}"
5245
+ o.input = Shapes::ShapeRef.new(shape: DeleteRuleInput)
5246
+ o.output = Shapes::ShapeRef.new(shape: DeleteRuleOutput)
5247
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5248
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5249
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5250
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5251
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
5252
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5253
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5254
+ end)
5255
+
5013
5256
  api.add_operation(:delete_subscription_grant, Seahorse::Model::Operation.new.tap do |o|
5014
5257
  o.name = "DeleteSubscriptionGrant"
5015
5258
  o.http_method = "DELETE"
@@ -5412,6 +5655,20 @@ module Aws::DataZone
5412
5655
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5413
5656
  end)
5414
5657
 
5658
+ api.add_operation(:get_rule, Seahorse::Model::Operation.new.tap do |o|
5659
+ o.name = "GetRule"
5660
+ o.http_method = "GET"
5661
+ o.http_request_uri = "/v2/domains/{domainIdentifier}/rules/{identifier}"
5662
+ o.input = Shapes::ShapeRef.new(shape: GetRuleInput)
5663
+ o.output = Shapes::ShapeRef.new(shape: GetRuleOutput)
5664
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5665
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5666
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5667
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5668
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5669
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5670
+ end)
5671
+
5415
5672
  api.add_operation(:get_subscription, Seahorse::Model::Operation.new.tap do |o|
5416
5673
  o.name = "GetSubscription"
5417
5674
  o.http_method = "GET"
@@ -5897,6 +6154,26 @@ module Aws::DataZone
5897
6154
  )
5898
6155
  end)
5899
6156
 
6157
+ api.add_operation(:list_rules, Seahorse::Model::Operation.new.tap do |o|
6158
+ o.name = "ListRules"
6159
+ o.http_method = "GET"
6160
+ o.http_request_uri = "/v2/domains/{domainIdentifier}/list-rules/{targetType}/{targetIdentifier}"
6161
+ o.input = Shapes::ShapeRef.new(shape: ListRulesInput)
6162
+ o.output = Shapes::ShapeRef.new(shape: ListRulesOutput)
6163
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6164
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6165
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6166
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6167
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6168
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6169
+ o[:pager] = Aws::Pager.new(
6170
+ limit_key: "max_results",
6171
+ tokens: {
6172
+ "next_token" => "next_token"
6173
+ }
6174
+ )
6175
+ end)
6176
+
5900
6177
  api.add_operation(:list_subscription_grants, Seahorse::Model::Operation.new.tap do |o|
5901
6178
  o.name = "ListSubscriptionGrants"
5902
6179
  o.http_method = "GET"
@@ -6454,6 +6731,22 @@ module Aws::DataZone
6454
6731
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6455
6732
  end)
6456
6733
 
6734
+ api.add_operation(:update_rule, Seahorse::Model::Operation.new.tap do |o|
6735
+ o.name = "UpdateRule"
6736
+ o.http_method = "PATCH"
6737
+ o.http_request_uri = "/v2/domains/{domainIdentifier}/rules/{identifier}"
6738
+ o.input = Shapes::ShapeRef.new(shape: UpdateRuleInput)
6739
+ o.output = Shapes::ShapeRef.new(shape: UpdateRuleOutput)
6740
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6741
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6742
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6743
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6744
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
6745
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
6746
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6747
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6748
+ end)
6749
+
6457
6750
  api.add_operation(:update_subscription_grant_status, Seahorse::Model::Operation.new.tap do |o|
6458
6751
  o.name = "UpdateSubscriptionGrantStatus"
6459
6752
  o.http_method = "PATCH"
@@ -45,10 +45,15 @@ module Aws::DataZone
45
45
  self[:region] = options[:region]
46
46
  self[:use_fips] = options[:use_fips]
47
47
  self[:use_fips] = false if self[:use_fips].nil?
48
- if self[:use_fips].nil?
49
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
50
- end
51
48
  self[:endpoint] = options[:endpoint]
52
49
  end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ region: config.region,
54
+ use_fips: config.use_fips_endpoint,
55
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
56
+ }.merge(options))
57
+ end
53
58
  end
54
59
  end