aws-sdk-datazone 1.95.0 → 1.97.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: 2ee00dc816ca3c5a55ada271aba1a1746ac824478e0578737aa95e5f124fdff7
4
- data.tar.gz: '011197824646b2428f8af32bac8241d76fa97602ebcee3d917d08158615297ec'
3
+ metadata.gz: af06bd1144005a2e75d6313c3dfa49a9a20976469cbfd51a581bc667f648971b
4
+ data.tar.gz: b0d50af9cc3c6644ca803eb9a8e1fb8d95af8872e4bc11462c7c21867aa834b9
5
5
  SHA512:
6
- metadata.gz: 40bc2aa22da289032f74d83d3d94bd7df72fc5ad61ddce605d6aeeb90cf60d5daae086275bc74f7e8f8464dfad0ea2000caa03754497999a5c2e22f8e3645337
7
- data.tar.gz: 425be2fe27d1ed4535fb46e14a6762b496349bca91d93e028376d94088b5182fcee9c34038a68afab52981e802e19f2515574afae04627386bbcaa41cf2b0b6a
6
+ metadata.gz: f9bd8cbf71e320d212a1a5c5e328bd50094f0c619da4366dcc50fc89b3d2b28504a364d8c6be061e4c3eb4d4701258e561a0ebb69de5ce2988da2183bc8de6c0
7
+ data.tar.gz: daec9b2fa20e0bf91b78ee2a8550bd27a994c0aa3b994024801099766305d125c1ee6ad044cff907e5893f1564e37ce5a8e8eb66ac2803411ee8cdfc58ad095f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2026-10-21)
5
+ ------------------
6
+
7
+ * Feature - Added custom designations support with new CRUD APIs. The designation field in project membership and policy grant APIs supports a new enum for custom designations. These APIs also support a new field for custom designation id.
8
+
9
+ 1.96.0 (2026-10-20)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.95.0 (2026-10-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.97.0
@@ -199,13 +199,20 @@ module Aws::DataZone
199
199
  # the required types.
200
200
  #
201
201
  # @option options [Boolean] :correct_clock_skew (true)
202
- # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
203
- # a clock skew correction and retry requests with skewed client clocks.
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether
203
+ # to apply a clock skew correction and retry requests with skewed client
204
+ # clocks. Takes effect only when `disable_clock_skew_correction` is not set.
204
205
  #
205
206
  # @option options [String] :defaults_mode ("legacy")
206
207
  # See {Aws::DefaultsModeConfiguration} for a list of the
207
208
  # accepted modes and the configuration defaults that are included.
208
209
  #
210
+ # @option options [Boolean] :disable_clock_skew_correction
211
+ # Used only in `standard` and `adaptive` retry modes. When `true`, the
212
+ # SDK does not apply a clock skew correction, does not update its stored
213
+ # skew from responses, and does not retry clock skew errors. Clock skew
214
+ # correction is enabled by default.
215
+ #
209
216
  # @option options [Boolean] :disable_host_prefix_injection (false)
210
217
  # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
211
218
  #
@@ -777,7 +784,8 @@ module Aws::DataZone
777
784
  # group_identifier: "GroupIdentifier",
778
785
  # },
779
786
  # project: {
780
- # project_designation: "OWNER", # required, accepts OWNER, CONTRIBUTOR, PROJECT_CATALOG_STEWARD
787
+ # project_designation: "OWNER", # required, accepts OWNER, CONTRIBUTOR, PROJECT_CATALOG_STEWARD, USER_CREATED_DESIGNATION
788
+ # user_created_designation_id: "DesignationId",
781
789
  # project_identifier: "ProjectId",
782
790
  # project_grant_filter: {
783
791
  # domain_unit_filter: {
@@ -2811,6 +2819,74 @@ module Aws::DataZone
2811
2819
  req.send_request(options)
2812
2820
  end
2813
2821
 
2822
+ # Creates a new user-defined designation with a Cedar permit policy. The
2823
+ # designation defines a named role that can be assigned to project
2824
+ # members.
2825
+ #
2826
+ # @option params [required, String] :domain_identifier
2827
+ # The identifier of the Amazon DataZone domain in which the designation
2828
+ # is created.
2829
+ #
2830
+ # @option params [required, String] :name
2831
+ # The name of the designation. The name must be unique within the
2832
+ # domain.
2833
+ #
2834
+ # @option params [String] :description
2835
+ # A human-readable description of the designation and its intended use.
2836
+ #
2837
+ # @option params [required, String] :policy
2838
+ # The Cedar permit policy that defines what actions holders of this
2839
+ # designation are allowed to perform.
2840
+ #
2841
+ # @option params [Boolean] :deletion_protection
2842
+ # Whether deletion protection is enabled for this designation. Defaults
2843
+ # to true when omitted.
2844
+ #
2845
+ # @return [Types::CreateDesignationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2846
+ #
2847
+ # * {Types::CreateDesignationOutput#domain_id #domain_id} => String
2848
+ # * {Types::CreateDesignationOutput#id #id} => String
2849
+ # * {Types::CreateDesignationOutput#name #name} => String
2850
+ # * {Types::CreateDesignationOutput#description #description} => String
2851
+ # * {Types::CreateDesignationOutput#designation_type #designation_type} => String
2852
+ # * {Types::CreateDesignationOutput#policy #policy} => String
2853
+ # * {Types::CreateDesignationOutput#deletion_protection #deletion_protection} => Boolean
2854
+ # * {Types::CreateDesignationOutput#created_by #created_by} => String
2855
+ # * {Types::CreateDesignationOutput#created_at #created_at} => Time
2856
+ # * {Types::CreateDesignationOutput#last_updated_at #last_updated_at} => Time
2857
+ #
2858
+ # @example Request syntax with placeholder values
2859
+ #
2860
+ # resp = client.create_designation({
2861
+ # domain_identifier: "DomainId", # required
2862
+ # name: "DesignationName", # required
2863
+ # description: "Description",
2864
+ # policy: "CedarDesignationPolicy", # required
2865
+ # deletion_protection: false,
2866
+ # })
2867
+ #
2868
+ # @example Response structure
2869
+ #
2870
+ # resp.domain_id #=> String
2871
+ # resp.id #=> String
2872
+ # resp.name #=> String
2873
+ # resp.description #=> String
2874
+ # resp.designation_type #=> String, one of "MANAGED", "USER_CREATED"
2875
+ # resp.policy #=> String
2876
+ # resp.deletion_protection #=> Boolean
2877
+ # resp.created_by #=> String
2878
+ # resp.created_at #=> Time
2879
+ # resp.last_updated_at #=> Time
2880
+ #
2881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateDesignation AWS API Documentation
2882
+ #
2883
+ # @overload create_designation(params = {})
2884
+ # @param [Hash] params ({})
2885
+ def create_designation(params = {}, options = {})
2886
+ req = build_request(:create_designation, params)
2887
+ req.send_request(options)
2888
+ end
2889
+
2814
2890
  # Creates an Amazon DataZone domain.
2815
2891
  #
2816
2892
  # @option params [required, String] :name
@@ -4011,7 +4087,8 @@ module Aws::DataZone
4011
4087
  # user_identifier: "String",
4012
4088
  # group_identifier: "String",
4013
4089
  # },
4014
- # designation: "PROJECT_OWNER", # required, accepts PROJECT_OWNER, PROJECT_CONTRIBUTOR, PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER, PROJECT_CATALOG_STEWARD
4090
+ # designation: "PROJECT_OWNER", # required, accepts PROJECT_OWNER, PROJECT_CONTRIBUTOR, PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER, PROJECT_CATALOG_STEWARD, USER_CREATED_DESIGNATION
4091
+ # user_created_designation_id: "DesignationId",
4015
4092
  # },
4016
4093
  # ],
4017
4094
  # })
@@ -4077,6 +4154,11 @@ module Aws::DataZone
4077
4154
  # @option params [required, String] :designation
4078
4155
  # The designation of the project membership.
4079
4156
  #
4157
+ # @option params [String] :user_created_designation_id
4158
+ # The ID of the user-created designation to assign to the project
4159
+ # member. Required when `designation` is `USER_CREATED_DESIGNATION`;
4160
+ # must not be provided otherwise.
4161
+ #
4080
4162
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4081
4163
  #
4082
4164
  # @example Request syntax with placeholder values
@@ -4088,7 +4170,8 @@ module Aws::DataZone
4088
4170
  # user_identifier: "String",
4089
4171
  # group_identifier: "String",
4090
4172
  # },
4091
- # designation: "PROJECT_OWNER", # required, accepts PROJECT_OWNER, PROJECT_CONTRIBUTOR, PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER, PROJECT_CATALOG_STEWARD
4173
+ # designation: "PROJECT_OWNER", # required, accepts PROJECT_OWNER, PROJECT_CONTRIBUTOR, PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER, PROJECT_CATALOG_STEWARD, USER_CREATED_DESIGNATION
4174
+ # user_created_designation_id: "DesignationId",
4092
4175
  # })
4093
4176
  #
4094
4177
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProjectMembership AWS API Documentation
@@ -5201,6 +5284,34 @@ module Aws::DataZone
5201
5284
  req.send_request(options)
5202
5285
  end
5203
5286
 
5287
+ # Deletes a designation. Managed designations cannot be deleted. This
5288
+ # operation is idempotent.
5289
+ #
5290
+ # @option params [required, String] :domain_identifier
5291
+ # The identifier of the Amazon DataZone domain that contains the
5292
+ # designation to delete.
5293
+ #
5294
+ # @option params [required, String] :identifier
5295
+ # The unique ID of the designation to delete.
5296
+ #
5297
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5298
+ #
5299
+ # @example Request syntax with placeholder values
5300
+ #
5301
+ # resp = client.delete_designation({
5302
+ # domain_identifier: "DomainId", # required
5303
+ # identifier: "DesignationId", # required
5304
+ # })
5305
+ #
5306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDesignation AWS API Documentation
5307
+ #
5308
+ # @overload delete_designation(params = {})
5309
+ # @param [Hash] params ({})
5310
+ def delete_designation(params = {}, options = {})
5311
+ req = build_request(:delete_designation, params)
5312
+ req.send_request(options)
5313
+ end
5314
+
5204
5315
  # Deletes a Amazon DataZone domain.
5205
5316
  #
5206
5317
  # @option params [required, String] :identifier
@@ -6855,6 +6966,57 @@ module Aws::DataZone
6855
6966
  req.send_request(options)
6856
6967
  end
6857
6968
 
6969
+ # Gets the details of a designation, including its Cedar policy.
6970
+ #
6971
+ # @option params [required, String] :domain_identifier
6972
+ # The identifier of the Amazon DataZone domain that contains the
6973
+ # designation.
6974
+ #
6975
+ # @option params [required, String] :identifier
6976
+ # The unique ID of the designation to retrieve.
6977
+ #
6978
+ # @return [Types::GetDesignationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6979
+ #
6980
+ # * {Types::GetDesignationOutput#domain_id #domain_id} => String
6981
+ # * {Types::GetDesignationOutput#id #id} => String
6982
+ # * {Types::GetDesignationOutput#name #name} => String
6983
+ # * {Types::GetDesignationOutput#description #description} => String
6984
+ # * {Types::GetDesignationOutput#designation_type #designation_type} => String
6985
+ # * {Types::GetDesignationOutput#policy #policy} => String
6986
+ # * {Types::GetDesignationOutput#deletion_protection #deletion_protection} => Boolean
6987
+ # * {Types::GetDesignationOutput#created_by #created_by} => String
6988
+ # * {Types::GetDesignationOutput#created_at #created_at} => Time
6989
+ # * {Types::GetDesignationOutput#last_updated_at #last_updated_at} => Time
6990
+ #
6991
+ # @example Request syntax with placeholder values
6992
+ #
6993
+ # resp = client.get_designation({
6994
+ # domain_identifier: "DomainId", # required
6995
+ # identifier: "DesignationId", # required
6996
+ # })
6997
+ #
6998
+ # @example Response structure
6999
+ #
7000
+ # resp.domain_id #=> String
7001
+ # resp.id #=> String
7002
+ # resp.name #=> String
7003
+ # resp.description #=> String
7004
+ # resp.designation_type #=> String, one of "MANAGED", "USER_CREATED"
7005
+ # resp.policy #=> String
7006
+ # resp.deletion_protection #=> Boolean
7007
+ # resp.created_by #=> String
7008
+ # resp.created_at #=> Time
7009
+ # resp.last_updated_at #=> Time
7010
+ #
7011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetDesignation AWS API Documentation
7012
+ #
7013
+ # @overload get_designation(params = {})
7014
+ # @param [Hash] params ({})
7015
+ def get_designation(params = {}, options = {})
7016
+ req = build_request(:get_designation, params)
7017
+ req.send_request(options)
7018
+ end
7019
+
6858
7020
  # Gets an Amazon DataZone domain.
6859
7021
  #
6860
7022
  # @option params [required, String] :identifier
@@ -9729,6 +9891,65 @@ module Aws::DataZone
9729
9891
  req.send_request(options)
9730
9892
  end
9731
9893
 
9894
+ # Lists the designations in a domain. Returns system-managed
9895
+ # designations first, followed by user-created designations sorted
9896
+ # alphabetically by name.
9897
+ #
9898
+ # @option params [required, String] :domain_identifier
9899
+ # The identifier of the Amazon DataZone domain that contains the
9900
+ # designations to list.
9901
+ #
9902
+ # @option params [String] :next_token
9903
+ # If the results exceed the value of `MaxResults`, the previous call
9904
+ # returns a pagination token. Specify this token in a subsequent call to
9905
+ # `ListDesignations` to retrieve the next set of results. If not
9906
+ # specified, the operation returns the first page of results.
9907
+ #
9908
+ # @option params [Integer] :max_results
9909
+ # The maximum number of designations to return in a single call to
9910
+ # `ListDesignations`. If the number of designations exceeds
9911
+ # `MaxResults`, the response includes a `NextToken` value. Use that
9912
+ # token in a subsequent call to `ListDesignations` to retrieve the next
9913
+ # set of designations. The default value is 20.
9914
+ #
9915
+ # @return [Types::ListDesignationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9916
+ #
9917
+ # * {Types::ListDesignationsOutput#items #items} => Array<Types::DesignationSummary>
9918
+ # * {Types::ListDesignationsOutput#next_token #next_token} => String
9919
+ #
9920
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
9921
+ #
9922
+ # @example Request syntax with placeholder values
9923
+ #
9924
+ # resp = client.list_designations({
9925
+ # domain_identifier: "DomainId", # required
9926
+ # next_token: "PaginationToken",
9927
+ # max_results: 1,
9928
+ # })
9929
+ #
9930
+ # @example Response structure
9931
+ #
9932
+ # resp.items #=> Array
9933
+ # resp.items[0].domain_id #=> String
9934
+ # resp.items[0].id #=> String
9935
+ # resp.items[0].name #=> String
9936
+ # resp.items[0].description #=> String
9937
+ # resp.items[0].designation_type #=> String, one of "MANAGED", "USER_CREATED"
9938
+ # resp.items[0].deletion_protection #=> Boolean
9939
+ # resp.items[0].created_by #=> String
9940
+ # resp.items[0].created_at #=> Time
9941
+ # resp.items[0].updated_at #=> Time
9942
+ # resp.next_token #=> String
9943
+ #
9944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListDesignations AWS API Documentation
9945
+ #
9946
+ # @overload list_designations(params = {})
9947
+ # @param [Hash] params ({})
9948
+ def list_designations(params = {}, options = {})
9949
+ req = build_request(:list_designations, params)
9950
+ req.send_request(options)
9951
+ end
9952
+
9732
9953
  # Lists child domain units for the specified parent domain unit.
9733
9954
  #
9734
9955
  # @option params [required, String] :domain_identifier
@@ -10921,7 +11142,8 @@ module Aws::DataZone
10921
11142
  # resp.grant_list #=> Array
10922
11143
  # resp.grant_list[0].principal.user.user_identifier #=> String
10923
11144
  # resp.grant_list[0].principal.group.group_identifier #=> String
10924
- # resp.grant_list[0].principal.project.project_designation #=> String, one of "OWNER", "CONTRIBUTOR", "PROJECT_CATALOG_STEWARD"
11145
+ # resp.grant_list[0].principal.project.project_designation #=> String, one of "OWNER", "CONTRIBUTOR", "PROJECT_CATALOG_STEWARD", "USER_CREATED_DESIGNATION"
11146
+ # resp.grant_list[0].principal.project.user_created_designation_id #=> String
10925
11147
  # resp.grant_list[0].principal.project.project_identifier #=> String
10926
11148
  # resp.grant_list[0].principal.project.project_grant_filter.domain_unit_filter.domain_unit #=> String
10927
11149
  # resp.grant_list[0].principal.project.project_grant_filter.domain_unit_filter.include_child_domain_units #=> Boolean
@@ -11007,7 +11229,8 @@ module Aws::DataZone
11007
11229
  # resp.members #=> Array
11008
11230
  # resp.members[0].member_details.user.user_id #=> String
11009
11231
  # resp.members[0].member_details.group.group_id #=> String
11010
- # resp.members[0].designation #=> String, one of "PROJECT_OWNER", "PROJECT_CONTRIBUTOR", "PROJECT_CATALOG_VIEWER", "PROJECT_CATALOG_CONSUMER", "PROJECT_CATALOG_STEWARD"
11232
+ # resp.members[0].designation #=> String, one of "PROJECT_OWNER", "PROJECT_CONTRIBUTOR", "PROJECT_CATALOG_VIEWER", "PROJECT_CATALOG_CONSUMER", "PROJECT_CATALOG_STEWARD", "USER_CREATED_DESIGNATION"
11233
+ # resp.members[0].user_created_designation_id #=> String
11011
11234
  # resp.next_token #=> String
11012
11235
  #
11013
11236
  # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListProjectMemberships AWS API Documentation
@@ -12584,7 +12807,8 @@ module Aws::DataZone
12584
12807
  # group_identifier: "GroupIdentifier",
12585
12808
  # },
12586
12809
  # project: {
12587
- # project_designation: "OWNER", # required, accepts OWNER, CONTRIBUTOR, PROJECT_CATALOG_STEWARD
12810
+ # project_designation: "OWNER", # required, accepts OWNER, CONTRIBUTOR, PROJECT_CATALOG_STEWARD, USER_CREATED_DESIGNATION
12811
+ # user_created_designation_id: "DesignationId",
12588
12812
  # project_identifier: "ProjectId",
12589
12813
  # project_grant_filter: {
12590
12814
  # domain_unit_filter: {
@@ -15006,6 +15230,77 @@ module Aws::DataZone
15006
15230
  req.send_request(options)
15007
15231
  end
15008
15232
 
15233
+ # Updates an existing designation. Managed designations cannot be
15234
+ # modified.
15235
+ #
15236
+ # @option params [required, String] :domain_identifier
15237
+ # The identifier of the Amazon DataZone domain that contains the
15238
+ # designation to update.
15239
+ #
15240
+ # @option params [required, String] :identifier
15241
+ # The unique ID of the designation to update.
15242
+ #
15243
+ # @option params [String] :name
15244
+ # The updated name of the designation. The name must be unique within
15245
+ # the domain.
15246
+ #
15247
+ # @option params [String] :description
15248
+ # The updated human-readable description of the designation and its
15249
+ # intended use.
15250
+ #
15251
+ # @option params [String] :policy
15252
+ # The updated Cedar permit policy.
15253
+ #
15254
+ # @option params [Boolean] :deletion_protection
15255
+ # Whether deletion protection is enabled for this designation. Omit to
15256
+ # keep the existing value.
15257
+ #
15258
+ # @return [Types::UpdateDesignationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15259
+ #
15260
+ # * {Types::UpdateDesignationOutput#domain_id #domain_id} => String
15261
+ # * {Types::UpdateDesignationOutput#id #id} => String
15262
+ # * {Types::UpdateDesignationOutput#name #name} => String
15263
+ # * {Types::UpdateDesignationOutput#description #description} => String
15264
+ # * {Types::UpdateDesignationOutput#designation_type #designation_type} => String
15265
+ # * {Types::UpdateDesignationOutput#policy #policy} => String
15266
+ # * {Types::UpdateDesignationOutput#deletion_protection #deletion_protection} => Boolean
15267
+ # * {Types::UpdateDesignationOutput#created_by #created_by} => String
15268
+ # * {Types::UpdateDesignationOutput#created_at #created_at} => Time
15269
+ # * {Types::UpdateDesignationOutput#last_updated_at #last_updated_at} => Time
15270
+ #
15271
+ # @example Request syntax with placeholder values
15272
+ #
15273
+ # resp = client.update_designation({
15274
+ # domain_identifier: "DomainId", # required
15275
+ # identifier: "DesignationId", # required
15276
+ # name: "DesignationName",
15277
+ # description: "Description",
15278
+ # policy: "CedarDesignationPolicy",
15279
+ # deletion_protection: false,
15280
+ # })
15281
+ #
15282
+ # @example Response structure
15283
+ #
15284
+ # resp.domain_id #=> String
15285
+ # resp.id #=> String
15286
+ # resp.name #=> String
15287
+ # resp.description #=> String
15288
+ # resp.designation_type #=> String, one of "MANAGED", "USER_CREATED"
15289
+ # resp.policy #=> String
15290
+ # resp.deletion_protection #=> Boolean
15291
+ # resp.created_by #=> String
15292
+ # resp.created_at #=> Time
15293
+ # resp.last_updated_at #=> Time
15294
+ #
15295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateDesignation AWS API Documentation
15296
+ #
15297
+ # @overload update_designation(params = {})
15298
+ # @param [Hash] params ({})
15299
+ def update_designation(params = {}, options = {})
15300
+ req = build_request(:update_designation, params)
15301
+ req.send_request(options)
15302
+ end
15303
+
15009
15304
  # Updates a Amazon DataZone domain.
15010
15305
  #
15011
15306
  # @option params [required, String] :identifier
@@ -16737,7 +17032,7 @@ module Aws::DataZone
16737
17032
  tracer: tracer
16738
17033
  )
16739
17034
  context[:gem_name] = 'aws-sdk-datazone'
16740
- context[:gem_version] = '1.95.0'
17035
+ context[:gem_version] = '1.97.0'
16741
17036
  Seahorse::Client::Request.new(handlers, context)
16742
17037
  end
16743
17038