aws-sdk-datazone 1.3.0 → 1.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3ff5b07c1fa22066711c6534fd092260767977fe25a9d42e2a30d76252c3edc
4
- data.tar.gz: 7b9164cfb078774175b503f538a257983c80106eee01f6206b1d95ac72454e59
3
+ metadata.gz: fd552f5df55747e30718446e8f62c8a265e1cfd81f1f7b5f333c0344c0b92994
4
+ data.tar.gz: ffa9bafa7d4578fad59e2aa554c58cd28dab7876a1fc73d97f1fd73fc8801323
5
5
  SHA512:
6
- metadata.gz: 52b37e71f85bf29c07465d9120e604ea5c429dce45e1f9e0be14715b05f394f91bfedb1bcea26fef36e69cfbb37eacb51eda7438a0f2fec419d1d064b0425774
7
- data.tar.gz: '09d1624e1cf37429517d11a67516ea27f70d4fae6c7a0d8c3d7a9ba3886bcb7bb67c94bfcb1b1ad0028c6c20ec45ec7d56082324388b8f4ae27b505cf75de186'
6
+ metadata.gz: f0d78f2160d907e160359a2847eda69ed26dbf0cdb3c96c1b4beeb9662b164174d755ada41d27e5b6705806ea092f1c2feee5bb6a98a8eaea617ca4e21fcb26c
7
+ data.tar.gz: 872420cf79cd911b8e16f24d9d64ec10464c044ddc01ed160c17fbc35dc7606720d3692bb18389c7b79d6ea43ff8239955ba9bfdd3377a2957867ababe5eb185
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2024-01-30)
5
+ ------------------
6
+
7
+ * Feature - Add new skipDeletionCheck to DeleteDomain. Add new skipDeletionCheck to DeleteProject which also automatically deletes dependent objects
8
+
4
9
  1.3.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -1749,10 +1749,12 @@ module Aws::DataZone
1749
1749
  # * {Types::CreateProjectOutput#created_by #created_by} => String
1750
1750
  # * {Types::CreateProjectOutput#description #description} => String
1751
1751
  # * {Types::CreateProjectOutput#domain_id #domain_id} => String
1752
+ # * {Types::CreateProjectOutput#failure_reasons #failure_reasons} => Array<Types::ProjectDeletionError>
1752
1753
  # * {Types::CreateProjectOutput#glossary_terms #glossary_terms} => Array<String>
1753
1754
  # * {Types::CreateProjectOutput#id #id} => String
1754
1755
  # * {Types::CreateProjectOutput#last_updated_at #last_updated_at} => Time
1755
1756
  # * {Types::CreateProjectOutput#name #name} => String
1757
+ # * {Types::CreateProjectOutput#project_status #project_status} => String
1756
1758
  #
1757
1759
  # @example Request syntax with placeholder values
1758
1760
  #
@@ -1769,11 +1771,15 @@ module Aws::DataZone
1769
1771
  # resp.created_by #=> String
1770
1772
  # resp.description #=> String
1771
1773
  # resp.domain_id #=> String
1774
+ # resp.failure_reasons #=> Array
1775
+ # resp.failure_reasons[0].code #=> String
1776
+ # resp.failure_reasons[0].message #=> String
1772
1777
  # resp.glossary_terms #=> Array
1773
1778
  # resp.glossary_terms[0] #=> String
1774
1779
  # resp.id #=> String
1775
1780
  # resp.last_updated_at #=> Time
1776
1781
  # resp.name #=> String
1782
+ # resp.project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
1777
1783
  #
1778
1784
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProject AWS API Documentation
1779
1785
  #
@@ -2342,6 +2348,9 @@ module Aws::DataZone
2342
2348
  # The identifier of the Amazon Web Services domain that is to be
2343
2349
  # deleted.
2344
2350
  #
2351
+ # @option params [Boolean] :skip_deletion_check
2352
+ # Optional flag to delete all child entities within the domain
2353
+ #
2345
2354
  # @return [Types::DeleteDomainOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2346
2355
  #
2347
2356
  # * {Types::DeleteDomainOutput#status #status} => String
@@ -2351,6 +2360,7 @@ module Aws::DataZone
2351
2360
  # resp = client.delete_domain({
2352
2361
  # client_token: "String",
2353
2362
  # identifier: "DomainId", # required
2363
+ # skip_deletion_check: false,
2354
2364
  # })
2355
2365
  #
2356
2366
  # @example Response structure
@@ -2558,6 +2568,10 @@ module Aws::DataZone
2558
2568
  # @option params [required, String] :identifier
2559
2569
  # The identifier of the project that is to be deleted.
2560
2570
  #
2571
+ # @option params [Boolean] :skip_deletion_check
2572
+ # Optional flag to asynchronously delete child entities within the
2573
+ # project
2574
+ #
2561
2575
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2562
2576
  #
2563
2577
  # @example Request syntax with placeholder values
@@ -2565,6 +2579,7 @@ module Aws::DataZone
2565
2579
  # resp = client.delete_project({
2566
2580
  # domain_identifier: "DomainId", # required
2567
2581
  # identifier: "ProjectId", # required
2582
+ # skip_deletion_check: false,
2568
2583
  # })
2569
2584
  #
2570
2585
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteProject AWS API Documentation
@@ -3659,10 +3674,12 @@ module Aws::DataZone
3659
3674
  # * {Types::GetProjectOutput#created_by #created_by} => String
3660
3675
  # * {Types::GetProjectOutput#description #description} => String
3661
3676
  # * {Types::GetProjectOutput#domain_id #domain_id} => String
3677
+ # * {Types::GetProjectOutput#failure_reasons #failure_reasons} => Array<Types::ProjectDeletionError>
3662
3678
  # * {Types::GetProjectOutput#glossary_terms #glossary_terms} => Array<String>
3663
3679
  # * {Types::GetProjectOutput#id #id} => String
3664
3680
  # * {Types::GetProjectOutput#last_updated_at #last_updated_at} => Time
3665
3681
  # * {Types::GetProjectOutput#name #name} => String
3682
+ # * {Types::GetProjectOutput#project_status #project_status} => String
3666
3683
  #
3667
3684
  # @example Request syntax with placeholder values
3668
3685
  #
@@ -3677,11 +3694,15 @@ module Aws::DataZone
3677
3694
  # resp.created_by #=> String
3678
3695
  # resp.description #=> String
3679
3696
  # resp.domain_id #=> String
3697
+ # resp.failure_reasons #=> Array
3698
+ # resp.failure_reasons[0].code #=> String
3699
+ # resp.failure_reasons[0].message #=> String
3680
3700
  # resp.glossary_terms #=> Array
3681
3701
  # resp.glossary_terms[0] #=> String
3682
3702
  # resp.id #=> String
3683
3703
  # resp.last_updated_at #=> Time
3684
3704
  # resp.name #=> String
3705
+ # resp.project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
3685
3706
  #
3686
3707
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetProject AWS API Documentation
3687
3708
  #
@@ -4860,8 +4881,12 @@ module Aws::DataZone
4860
4881
  # resp.items[0].created_by #=> String
4861
4882
  # resp.items[0].description #=> String
4862
4883
  # resp.items[0].domain_id #=> String
4884
+ # resp.items[0].failure_reasons #=> Array
4885
+ # resp.items[0].failure_reasons[0].code #=> String
4886
+ # resp.items[0].failure_reasons[0].message #=> String
4863
4887
  # resp.items[0].id #=> String
4864
4888
  # resp.items[0].name #=> String
4889
+ # resp.items[0].project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
4865
4890
  # resp.items[0].updated_at #=> Time
4866
4891
  # resp.next_token #=> String
4867
4892
  #
@@ -6880,10 +6905,12 @@ module Aws::DataZone
6880
6905
  # * {Types::UpdateProjectOutput#created_by #created_by} => String
6881
6906
  # * {Types::UpdateProjectOutput#description #description} => String
6882
6907
  # * {Types::UpdateProjectOutput#domain_id #domain_id} => String
6908
+ # * {Types::UpdateProjectOutput#failure_reasons #failure_reasons} => Array<Types::ProjectDeletionError>
6883
6909
  # * {Types::UpdateProjectOutput#glossary_terms #glossary_terms} => Array<String>
6884
6910
  # * {Types::UpdateProjectOutput#id #id} => String
6885
6911
  # * {Types::UpdateProjectOutput#last_updated_at #last_updated_at} => Time
6886
6912
  # * {Types::UpdateProjectOutput#name #name} => String
6913
+ # * {Types::UpdateProjectOutput#project_status #project_status} => String
6887
6914
  #
6888
6915
  # @example Request syntax with placeholder values
6889
6916
  #
@@ -6901,11 +6928,15 @@ module Aws::DataZone
6901
6928
  # resp.created_by #=> String
6902
6929
  # resp.description #=> String
6903
6930
  # resp.domain_id #=> String
6931
+ # resp.failure_reasons #=> Array
6932
+ # resp.failure_reasons[0].code #=> String
6933
+ # resp.failure_reasons[0].message #=> String
6904
6934
  # resp.glossary_terms #=> Array
6905
6935
  # resp.glossary_terms[0] #=> String
6906
6936
  # resp.id #=> String
6907
6937
  # resp.last_updated_at #=> Time
6908
6938
  # resp.name #=> String
6939
+ # resp.project_status #=> String, one of "ACTIVE", "DELETING", "DELETE_FAILED"
6909
6940
  #
6910
6941
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateProject AWS API Documentation
6911
6942
  #
@@ -7245,7 +7276,7 @@ module Aws::DataZone
7245
7276
  params: params,
7246
7277
  config: config)
7247
7278
  context[:gem_name] = 'aws-sdk-datazone'
7248
- context[:gem_version] = '1.3.0'
7279
+ context[:gem_version] = '1.4.0'
7249
7280
  Seahorse::Client::Request.new(handlers, context)
7250
7281
  end
7251
7282
 
@@ -199,6 +199,7 @@ module Aws::DataZone
199
199
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
200
200
  ExternalIdentifier = Shapes::StringShape.new(name: 'ExternalIdentifier')
201
201
  FailureCause = Shapes::StructureShape.new(name: 'FailureCause')
202
+ FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
202
203
  Filter = Shapes::StructureShape.new(name: 'Filter')
203
204
  FilterClause = Shapes::UnionShape.new(name: 'FilterClause')
204
205
  FilterExpression = Shapes::StructureShape.new(name: 'FilterExpression')
@@ -362,10 +363,12 @@ module Aws::DataZone
362
363
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
363
364
  PredictionChoices = Shapes::ListShape.new(name: 'PredictionChoices')
364
365
  PredictionConfiguration = Shapes::StructureShape.new(name: 'PredictionConfiguration')
366
+ ProjectDeletionError = Shapes::StructureShape.new(name: 'ProjectDeletionError')
365
367
  ProjectId = Shapes::StringShape.new(name: 'ProjectId')
366
368
  ProjectMember = Shapes::StructureShape.new(name: 'ProjectMember')
367
369
  ProjectMembers = Shapes::ListShape.new(name: 'ProjectMembers')
368
370
  ProjectName = Shapes::StringShape.new(name: 'ProjectName')
371
+ ProjectStatus = Shapes::StringShape.new(name: 'ProjectStatus')
369
372
  ProjectSummaries = Shapes::ListShape.new(name: 'ProjectSummaries')
370
373
  ProjectSummary = Shapes::StructureShape.new(name: 'ProjectSummary')
371
374
  ProvisioningProperties = Shapes::UnionShape.new(name: 'ProvisioningProperties')
@@ -1008,10 +1011,12 @@ module Aws::DataZone
1008
1011
  CreateProjectOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
1009
1012
  CreateProjectOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1010
1013
  CreateProjectOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
1014
+ CreateProjectOutput.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
1011
1015
  CreateProjectOutput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms"))
1012
1016
  CreateProjectOutput.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
1013
1017
  CreateProjectOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
1014
1018
  CreateProjectOutput.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
1019
+ CreateProjectOutput.add_member(:project_status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "projectStatus"))
1015
1020
  CreateProjectOutput.struct_class = Types::CreateProjectOutput
1016
1021
 
1017
1022
  CreateSubscriptionGrantInput.add_member(:asset_target_names, Shapes::ShapeRef.new(shape: AssetTargetNames, location_name: "assetTargetNames"))
@@ -1238,6 +1243,7 @@ module Aws::DataZone
1238
1243
 
1239
1244
  DeleteDomainInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1240
1245
  DeleteDomainInput.add_member(:identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "identifier"))
1246
+ DeleteDomainInput.add_member(:skip_deletion_check, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "skipDeletionCheck"))
1241
1247
  DeleteDomainInput.struct_class = Types::DeleteDomainInput
1242
1248
 
1243
1249
  DeleteDomainOutput.add_member(:status, Shapes::ShapeRef.new(shape: DomainStatus, required: true, location_name: "status"))
@@ -1283,6 +1289,7 @@ module Aws::DataZone
1283
1289
 
1284
1290
  DeleteProjectInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
1285
1291
  DeleteProjectInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ProjectId, required: true, location: "uri", location_name: "identifier"))
1292
+ DeleteProjectInput.add_member(:skip_deletion_check, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "skipDeletionCheck"))
1286
1293
  DeleteProjectInput.struct_class = Types::DeleteProjectInput
1287
1294
 
1288
1295
  DeleteProjectMembershipInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
@@ -1425,6 +1432,8 @@ module Aws::DataZone
1425
1432
  FailureCause.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1426
1433
  FailureCause.struct_class = Types::FailureCause
1427
1434
 
1435
+ FailureReasons.member = Shapes::ShapeRef.new(shape: ProjectDeletionError)
1436
+
1428
1437
  Filter.add_member(:attribute, Shapes::ShapeRef.new(shape: Attribute, required: true, location_name: "attribute"))
1429
1438
  Filter.add_member(:value, Shapes::ShapeRef.new(shape: FilterValueString, required: true, location_name: "value"))
1430
1439
  Filter.struct_class = Types::Filter
@@ -1770,10 +1779,12 @@ module Aws::DataZone
1770
1779
  GetProjectOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
1771
1780
  GetProjectOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1772
1781
  GetProjectOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
1782
+ GetProjectOutput.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
1773
1783
  GetProjectOutput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms"))
1774
1784
  GetProjectOutput.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
1775
1785
  GetProjectOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
1776
1786
  GetProjectOutput.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
1787
+ GetProjectOutput.add_member(:project_status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "projectStatus"))
1777
1788
  GetProjectOutput.struct_class = Types::GetProjectOutput
1778
1789
 
1779
1790
  GetSubscriptionGrantInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
@@ -2213,6 +2224,10 @@ module Aws::DataZone
2213
2224
  PredictionConfiguration.add_member(:business_name_generation, Shapes::ShapeRef.new(shape: BusinessNameGenerationConfiguration, location_name: "businessNameGeneration"))
2214
2225
  PredictionConfiguration.struct_class = Types::PredictionConfiguration
2215
2226
 
2227
+ ProjectDeletionError.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
2228
+ ProjectDeletionError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2229
+ ProjectDeletionError.struct_class = Types::ProjectDeletionError
2230
+
2216
2231
  ProjectMember.add_member(:designation, Shapes::ShapeRef.new(shape: UserDesignation, required: true, location_name: "designation"))
2217
2232
  ProjectMember.add_member(:member_details, Shapes::ShapeRef.new(shape: MemberDetails, required: true, location_name: "memberDetails"))
2218
2233
  ProjectMember.struct_class = Types::ProjectMember
@@ -2225,8 +2240,10 @@ module Aws::DataZone
2225
2240
  ProjectSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
2226
2241
  ProjectSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2227
2242
  ProjectSummary.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
2243
+ ProjectSummary.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
2228
2244
  ProjectSummary.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
2229
2245
  ProjectSummary.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
2246
+ ProjectSummary.add_member(:project_status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "projectStatus"))
2230
2247
  ProjectSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
2231
2248
  ProjectSummary.struct_class = Types::ProjectSummary
2232
2249
 
@@ -2863,10 +2880,12 @@ module Aws::DataZone
2863
2880
  UpdateProjectOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
2864
2881
  UpdateProjectOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
2865
2882
  UpdateProjectOutput.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "domainId"))
2883
+ UpdateProjectOutput.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
2866
2884
  UpdateProjectOutput.add_member(:glossary_terms, Shapes::ShapeRef.new(shape: GlossaryTerms, location_name: "glossaryTerms"))
2867
2885
  UpdateProjectOutput.add_member(:id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location_name: "id"))
2868
2886
  UpdateProjectOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastUpdatedAt"))
2869
2887
  UpdateProjectOutput.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
2888
+ UpdateProjectOutput.add_member(:project_status, Shapes::ShapeRef.new(shape: ProjectStatus, location_name: "projectStatus"))
2870
2889
  UpdateProjectOutput.struct_class = Types::UpdateProjectOutput
2871
2890
 
2872
2891
  UpdateSubscriptionGrantStatusInput.add_member(:asset_identifier, Shapes::ShapeRef.new(shape: AssetId, required: true, location: "uri", location_name: "assetIdentifier"))
@@ -23,7 +23,7 @@ module Aws::DataZone
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
24
24
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
25
25
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
26
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
26
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
27
27
  return Aws::Endpoints::Endpoint.new(url: "https://datazone-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
28
28
  end
29
29
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -31,7 +31,7 @@ module Aws::DataZone
31
31
  return Aws::Endpoints::Endpoint.new(url: "https://datazone.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
34
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
35
35
  return Aws::Endpoints::Endpoint.new(url: "https://datazone-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
36
  end
37
37
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -2263,6 +2263,10 @@ module Aws::DataZone
2263
2263
  # was created.
2264
2264
  # @return [String]
2265
2265
  #
2266
+ # @!attribute [rw] failure_reasons
2267
+ # Reasons for failed project deletion
2268
+ # @return [Array<Types::ProjectDeletionError>]
2269
+ #
2266
2270
  # @!attribute [rw] glossary_terms
2267
2271
  # The glossary terms that can be used in the project.
2268
2272
  # @return [Array<String>]
@@ -2279,6 +2283,10 @@ module Aws::DataZone
2279
2283
  # The name of the project.
2280
2284
  # @return [String]
2281
2285
  #
2286
+ # @!attribute [rw] project_status
2287
+ # Status of the project
2288
+ # @return [String]
2289
+ #
2282
2290
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProjectOutput AWS API Documentation
2283
2291
  #
2284
2292
  class CreateProjectOutput < Struct.new(
@@ -2286,10 +2294,12 @@ module Aws::DataZone
2286
2294
  :created_by,
2287
2295
  :description,
2288
2296
  :domain_id,
2297
+ :failure_reasons,
2289
2298
  :glossary_terms,
2290
2299
  :id,
2291
2300
  :last_updated_at,
2292
- :name)
2301
+ :name,
2302
+ :project_status)
2293
2303
  SENSITIVE = [:description, :name]
2294
2304
  include Aws::Structure
2295
2305
  end
@@ -3298,11 +3308,16 @@ module Aws::DataZone
3298
3308
  # deleted.
3299
3309
  # @return [String]
3300
3310
  #
3311
+ # @!attribute [rw] skip_deletion_check
3312
+ # Optional flag to delete all child entities within the domain
3313
+ # @return [Boolean]
3314
+ #
3301
3315
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDomainInput AWS API Documentation
3302
3316
  #
3303
3317
  class DeleteDomainInput < Struct.new(
3304
3318
  :client_token,
3305
- :identifier)
3319
+ :identifier,
3320
+ :skip_deletion_check)
3306
3321
  SENSITIVE = []
3307
3322
  include Aws::Structure
3308
3323
  end
@@ -3471,11 +3486,17 @@ module Aws::DataZone
3471
3486
  # The identifier of the project that is to be deleted.
3472
3487
  # @return [String]
3473
3488
  #
3489
+ # @!attribute [rw] skip_deletion_check
3490
+ # Optional flag to asynchronously delete child entities within the
3491
+ # project
3492
+ # @return [Boolean]
3493
+ #
3474
3494
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteProjectInput AWS API Documentation
3475
3495
  #
3476
3496
  class DeleteProjectInput < Struct.new(
3477
3497
  :domain_identifier,
3478
- :identifier)
3498
+ :identifier,
3499
+ :skip_deletion_check)
3479
3500
  SENSITIVE = []
3480
3501
  include Aws::Structure
3481
3502
  end
@@ -5633,6 +5654,10 @@ module Aws::DataZone
5633
5654
  # The ID of the Amazon DataZone domain in which the project exists.
5634
5655
  # @return [String]
5635
5656
  #
5657
+ # @!attribute [rw] failure_reasons
5658
+ # Reasons for failed project deletion
5659
+ # @return [Array<Types::ProjectDeletionError>]
5660
+ #
5636
5661
  # @!attribute [rw] glossary_terms
5637
5662
  # The business glossary terms that can be used in the project.
5638
5663
  # @return [Array<String>]
@@ -5649,6 +5674,10 @@ module Aws::DataZone
5649
5674
  # The name of the project.
5650
5675
  # @return [String]
5651
5676
  #
5677
+ # @!attribute [rw] project_status
5678
+ # Status of the project
5679
+ # @return [String]
5680
+ #
5652
5681
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetProjectOutput AWS API Documentation
5653
5682
  #
5654
5683
  class GetProjectOutput < Struct.new(
@@ -5656,10 +5685,12 @@ module Aws::DataZone
5656
5685
  :created_by,
5657
5686
  :description,
5658
5687
  :domain_id,
5688
+ :failure_reasons,
5659
5689
  :glossary_terms,
5660
5690
  :id,
5661
5691
  :last_updated_at,
5662
- :name)
5692
+ :name,
5693
+ :project_status)
5663
5694
  SENSITIVE = [:description, :name]
5664
5695
  include Aws::Structure
5665
5696
  end
@@ -7826,6 +7857,25 @@ module Aws::DataZone
7826
7857
  include Aws::Structure
7827
7858
  end
7828
7859
 
7860
+ # Error that occurred during project deletion
7861
+ #
7862
+ # @!attribute [rw] code
7863
+ # Project Deletion Error Code
7864
+ # @return [String]
7865
+ #
7866
+ # @!attribute [rw] message
7867
+ # Project Deletion Error Message
7868
+ # @return [String]
7869
+ #
7870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ProjectDeletionError AWS API Documentation
7871
+ #
7872
+ class ProjectDeletionError < Struct.new(
7873
+ :code,
7874
+ :message)
7875
+ SENSITIVE = []
7876
+ include Aws::Structure
7877
+ end
7878
+
7829
7879
  # The details of a project member.
7830
7880
  #
7831
7881
  # @!attribute [rw] designation
@@ -7863,6 +7913,10 @@ module Aws::DataZone
7863
7913
  # The identifier of a Amazon DataZone domain where the project exists.
7864
7914
  # @return [String]
7865
7915
  #
7916
+ # @!attribute [rw] failure_reasons
7917
+ # Reasons for failed project deletion
7918
+ # @return [Array<Types::ProjectDeletionError>]
7919
+ #
7866
7920
  # @!attribute [rw] id
7867
7921
  # The identifier of a project.
7868
7922
  # @return [String]
@@ -7871,6 +7925,10 @@ module Aws::DataZone
7871
7925
  # The name of a project.
7872
7926
  # @return [String]
7873
7927
  #
7928
+ # @!attribute [rw] project_status
7929
+ # Status of the project
7930
+ # @return [String]
7931
+ #
7874
7932
  # @!attribute [rw] updated_at
7875
7933
  # The timestamp of when the project was updated.
7876
7934
  # @return [Time]
@@ -7882,8 +7940,10 @@ module Aws::DataZone
7882
7940
  :created_by,
7883
7941
  :description,
7884
7942
  :domain_id,
7943
+ :failure_reasons,
7885
7944
  :id,
7886
7945
  :name,
7946
+ :project_status,
7887
7947
  :updated_at)
7888
7948
  SENSITIVE = [:description, :name]
7889
7949
  include Aws::Structure
@@ -10737,6 +10797,10 @@ module Aws::DataZone
10737
10797
  # updated.
10738
10798
  # @return [String]
10739
10799
  #
10800
+ # @!attribute [rw] failure_reasons
10801
+ # Reasons for failed project deletion
10802
+ # @return [Array<Types::ProjectDeletionError>]
10803
+ #
10740
10804
  # @!attribute [rw] glossary_terms
10741
10805
  # The glossary terms of the project that are to be updated.
10742
10806
  # @return [Array<String>]
@@ -10753,6 +10817,10 @@ module Aws::DataZone
10753
10817
  # The name of the project that is to be updated.
10754
10818
  # @return [String]
10755
10819
  #
10820
+ # @!attribute [rw] project_status
10821
+ # Status of the project
10822
+ # @return [String]
10823
+ #
10756
10824
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateProjectOutput AWS API Documentation
10757
10825
  #
10758
10826
  class UpdateProjectOutput < Struct.new(
@@ -10760,10 +10828,12 @@ module Aws::DataZone
10760
10828
  :created_by,
10761
10829
  :description,
10762
10830
  :domain_id,
10831
+ :failure_reasons,
10763
10832
  :glossary_terms,
10764
10833
  :id,
10765
10834
  :last_updated_at,
10766
- :name)
10835
+ :name,
10836
+ :project_status)
10767
10837
  SENSITIVE = [:description, :name]
10768
10838
  include Aws::Structure
10769
10839
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-datazone/customizations'
52
52
  # @!group service
53
53
  module Aws::DataZone
54
54
 
55
- GEM_VERSION = '1.3.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -569,10 +569,12 @@ module Aws
569
569
  def created_by: () -> ::String
570
570
  def description: () -> ::String
571
571
  def domain_id: () -> ::String
572
+ def failure_reasons: () -> ::Array[Types::ProjectDeletionError]
572
573
  def glossary_terms: () -> ::Array[::String]
573
574
  def id: () -> ::String
574
575
  def last_updated_at: () -> ::Time
575
576
  def name: () -> ::String
577
+ def project_status: () -> ("ACTIVE" | "DELETING" | "DELETE_FAILED")
576
578
  end
577
579
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#create_project-instance_method
578
580
  def create_project: (
@@ -780,7 +782,8 @@ module Aws
780
782
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#delete_domain-instance_method
781
783
  def delete_domain: (
782
784
  ?client_token: ::String,
783
- identifier: ::String
785
+ identifier: ::String,
786
+ ?skip_deletion_check: bool
784
787
  ) -> _DeleteDomainResponseSuccess
785
788
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainResponseSuccess
786
789
 
@@ -854,7 +857,8 @@ module Aws
854
857
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#delete_project-instance_method
855
858
  def delete_project: (
856
859
  domain_identifier: ::String,
857
- identifier: ::String
860
+ identifier: ::String,
861
+ ?skip_deletion_check: bool
858
862
  ) -> _DeleteProjectResponseSuccess
859
863
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProjectResponseSuccess
860
864
 
@@ -1243,10 +1247,12 @@ module Aws
1243
1247
  def created_by: () -> ::String
1244
1248
  def description: () -> ::String
1245
1249
  def domain_id: () -> ::String
1250
+ def failure_reasons: () -> ::Array[Types::ProjectDeletionError]
1246
1251
  def glossary_terms: () -> ::Array[::String]
1247
1252
  def id: () -> ::String
1248
1253
  def last_updated_at: () -> ::Time
1249
1254
  def name: () -> ::String
1255
+ def project_status: () -> ("ACTIVE" | "DELETING" | "DELETE_FAILED")
1250
1256
  end
1251
1257
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#get_project-instance_method
1252
1258
  def get_project: (
@@ -2166,10 +2172,12 @@ module Aws
2166
2172
  def created_by: () -> ::String
2167
2173
  def description: () -> ::String
2168
2174
  def domain_id: () -> ::String
2175
+ def failure_reasons: () -> ::Array[Types::ProjectDeletionError]
2169
2176
  def glossary_terms: () -> ::Array[::String]
2170
2177
  def id: () -> ::String
2171
2178
  def last_updated_at: () -> ::Time
2172
2179
  def name: () -> ::String
2180
+ def project_status: () -> ("ACTIVE" | "DELETING" | "DELETE_FAILED")
2173
2181
  end
2174
2182
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#update_project-instance_method
2175
2183
  def update_project: (
data/sig/types.rbs CHANGED
@@ -556,10 +556,12 @@ module Aws::DataZone
556
556
  attr_accessor created_by: ::String
557
557
  attr_accessor description: ::String
558
558
  attr_accessor domain_id: ::String
559
+ attr_accessor failure_reasons: ::Array[Types::ProjectDeletionError]
559
560
  attr_accessor glossary_terms: ::Array[::String]
560
561
  attr_accessor id: ::String
561
562
  attr_accessor last_updated_at: ::Time
562
563
  attr_accessor name: ::String
564
+ attr_accessor project_status: ("ACTIVE" | "DELETING" | "DELETE_FAILED")
563
565
  SENSITIVE: [:description, :name]
564
566
  end
565
567
 
@@ -826,6 +828,7 @@ module Aws::DataZone
826
828
  class DeleteDomainInput
827
829
  attr_accessor client_token: ::String
828
830
  attr_accessor identifier: ::String
831
+ attr_accessor skip_deletion_check: bool
829
832
  SENSITIVE: []
830
833
  end
831
834
 
@@ -894,6 +897,7 @@ module Aws::DataZone
894
897
  class DeleteProjectInput
895
898
  attr_accessor domain_identifier: ::String
896
899
  attr_accessor identifier: ::String
900
+ attr_accessor skip_deletion_check: bool
897
901
  SENSITIVE: []
898
902
  end
899
903
 
@@ -1466,10 +1470,12 @@ module Aws::DataZone
1466
1470
  attr_accessor created_by: ::String
1467
1471
  attr_accessor description: ::String
1468
1472
  attr_accessor domain_id: ::String
1473
+ attr_accessor failure_reasons: ::Array[Types::ProjectDeletionError]
1469
1474
  attr_accessor glossary_terms: ::Array[::String]
1470
1475
  attr_accessor id: ::String
1471
1476
  attr_accessor last_updated_at: ::Time
1472
1477
  attr_accessor name: ::String
1478
+ attr_accessor project_status: ("ACTIVE" | "DELETING" | "DELETE_FAILED")
1473
1479
  SENSITIVE: [:description, :name]
1474
1480
  end
1475
1481
 
@@ -2039,6 +2045,12 @@ module Aws::DataZone
2039
2045
  SENSITIVE: []
2040
2046
  end
2041
2047
 
2048
+ class ProjectDeletionError
2049
+ attr_accessor code: ::String
2050
+ attr_accessor message: ::String
2051
+ SENSITIVE: []
2052
+ end
2053
+
2042
2054
  class ProjectMember
2043
2055
  attr_accessor designation: ("PROJECT_OWNER" | "PROJECT_CONTRIBUTOR")
2044
2056
  attr_accessor member_details: Types::MemberDetails
@@ -2050,8 +2062,10 @@ module Aws::DataZone
2050
2062
  attr_accessor created_by: ::String
2051
2063
  attr_accessor description: ::String
2052
2064
  attr_accessor domain_id: ::String
2065
+ attr_accessor failure_reasons: ::Array[Types::ProjectDeletionError]
2053
2066
  attr_accessor id: ::String
2054
2067
  attr_accessor name: ::String
2068
+ attr_accessor project_status: ("ACTIVE" | "DELETING" | "DELETE_FAILED")
2055
2069
  attr_accessor updated_at: ::Time
2056
2070
  SENSITIVE: [:description, :name]
2057
2071
  end
@@ -2822,10 +2836,12 @@ module Aws::DataZone
2822
2836
  attr_accessor created_by: ::String
2823
2837
  attr_accessor description: ::String
2824
2838
  attr_accessor domain_id: ::String
2839
+ attr_accessor failure_reasons: ::Array[Types::ProjectDeletionError]
2825
2840
  attr_accessor glossary_terms: ::Array[::String]
2826
2841
  attr_accessor id: ::String
2827
2842
  attr_accessor last_updated_at: ::Time
2828
2843
  attr_accessor name: ::String
2844
+ attr_accessor project_status: ("ACTIVE" | "DELETING" | "DELETE_FAILED")
2829
2845
  SENSITIVE: [:description, :name]
2830
2846
  end
2831
2847
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datazone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core