aws-sdk-datazone 1.96.0 → 1.98.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datazone/client.rb +295 -7
- data/lib/aws-sdk-datazone/client_api.rb +184 -0
- data/lib/aws-sdk-datazone/types.rb +462 -5
- data/lib/aws-sdk-datazone.rb +1 -1
- data/sig/client.rbs +94 -2
- data/sig/params.rbs +2 -1
- data/sig/types.rbs +110 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 57a23a980d518d1eb5a7a443f033fbd9372d8b7524e6dbb5c384b7aeee981835
|
|
4
|
+
data.tar.gz: ae3803e448df33eee7eaa83fd81464d2d92b3b5c1bf14d9b21bf419e18cec302
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7a46784a63d461bb48c47994ceb5b516fef4a09e7ed5c7471ed21a034bae82d9bf0eddb2b878ad424b9ec20d1d22cf8907d4d3de527e621c541f930d4a1e1d9
|
|
7
|
+
data.tar.gz: eda1e7e4d2b659265ac143b36ac462dce020838eb05302ad295cba8a9effe476bd313fe502adea4b4a2ab5bc219faa5a60c830403a16dadce67e6e7f91609f58
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.98.0 (2026-10-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.97.0 (2026-10-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.96.0 (2026-10-20)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.98.0
|
|
@@ -784,7 +784,8 @@ module Aws::DataZone
|
|
|
784
784
|
# group_identifier: "GroupIdentifier",
|
|
785
785
|
# },
|
|
786
786
|
# project: {
|
|
787
|
-
# 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",
|
|
788
789
|
# project_identifier: "ProjectId",
|
|
789
790
|
# project_grant_filter: {
|
|
790
791
|
# domain_unit_filter: {
|
|
@@ -2818,6 +2819,74 @@ module Aws::DataZone
|
|
|
2818
2819
|
req.send_request(options)
|
|
2819
2820
|
end
|
|
2820
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
|
+
|
|
2821
2890
|
# Creates an Amazon DataZone domain.
|
|
2822
2891
|
#
|
|
2823
2892
|
# @option params [required, String] :name
|
|
@@ -4018,7 +4087,8 @@ module Aws::DataZone
|
|
|
4018
4087
|
# user_identifier: "String",
|
|
4019
4088
|
# group_identifier: "String",
|
|
4020
4089
|
# },
|
|
4021
|
-
# 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",
|
|
4022
4092
|
# },
|
|
4023
4093
|
# ],
|
|
4024
4094
|
# })
|
|
@@ -4084,6 +4154,11 @@ module Aws::DataZone
|
|
|
4084
4154
|
# @option params [required, String] :designation
|
|
4085
4155
|
# The designation of the project membership.
|
|
4086
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
|
+
#
|
|
4087
4162
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4088
4163
|
#
|
|
4089
4164
|
# @example Request syntax with placeholder values
|
|
@@ -4095,7 +4170,8 @@ module Aws::DataZone
|
|
|
4095
4170
|
# user_identifier: "String",
|
|
4096
4171
|
# group_identifier: "String",
|
|
4097
4172
|
# },
|
|
4098
|
-
# 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",
|
|
4099
4175
|
# })
|
|
4100
4176
|
#
|
|
4101
4177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/CreateProjectMembership AWS API Documentation
|
|
@@ -5208,6 +5284,34 @@ module Aws::DataZone
|
|
|
5208
5284
|
req.send_request(options)
|
|
5209
5285
|
end
|
|
5210
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
|
+
|
|
5211
5315
|
# Deletes a Amazon DataZone domain.
|
|
5212
5316
|
#
|
|
5213
5317
|
# @option params [required, String] :identifier
|
|
@@ -6862,6 +6966,57 @@ module Aws::DataZone
|
|
|
6862
6966
|
req.send_request(options)
|
|
6863
6967
|
end
|
|
6864
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
|
+
|
|
6865
7020
|
# Gets an Amazon DataZone domain.
|
|
6866
7021
|
#
|
|
6867
7022
|
# @option params [required, String] :identifier
|
|
@@ -9736,6 +9891,65 @@ module Aws::DataZone
|
|
|
9736
9891
|
req.send_request(options)
|
|
9737
9892
|
end
|
|
9738
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
|
+
|
|
9739
9953
|
# Lists child domain units for the specified parent domain unit.
|
|
9740
9954
|
#
|
|
9741
9955
|
# @option params [required, String] :domain_identifier
|
|
@@ -10928,7 +11142,8 @@ module Aws::DataZone
|
|
|
10928
11142
|
# resp.grant_list #=> Array
|
|
10929
11143
|
# resp.grant_list[0].principal.user.user_identifier #=> String
|
|
10930
11144
|
# resp.grant_list[0].principal.group.group_identifier #=> String
|
|
10931
|
-
# 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
|
|
10932
11147
|
# resp.grant_list[0].principal.project.project_identifier #=> String
|
|
10933
11148
|
# resp.grant_list[0].principal.project.project_grant_filter.domain_unit_filter.domain_unit #=> String
|
|
10934
11149
|
# resp.grant_list[0].principal.project.project_grant_filter.domain_unit_filter.include_child_domain_units #=> Boolean
|
|
@@ -11014,7 +11229,8 @@ module Aws::DataZone
|
|
|
11014
11229
|
# resp.members #=> Array
|
|
11015
11230
|
# resp.members[0].member_details.user.user_id #=> String
|
|
11016
11231
|
# resp.members[0].member_details.group.group_id #=> String
|
|
11017
|
-
# 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
|
|
11018
11234
|
# resp.next_token #=> String
|
|
11019
11235
|
#
|
|
11020
11236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListProjectMemberships AWS API Documentation
|
|
@@ -12591,7 +12807,8 @@ module Aws::DataZone
|
|
|
12591
12807
|
# group_identifier: "GroupIdentifier",
|
|
12592
12808
|
# },
|
|
12593
12809
|
# project: {
|
|
12594
|
-
# 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",
|
|
12595
12812
|
# project_identifier: "ProjectId",
|
|
12596
12813
|
# project_grant_filter: {
|
|
12597
12814
|
# domain_unit_filter: {
|
|
@@ -15013,6 +15230,77 @@ module Aws::DataZone
|
|
|
15013
15230
|
req.send_request(options)
|
|
15014
15231
|
end
|
|
15015
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
|
+
|
|
15016
15304
|
# Updates a Amazon DataZone domain.
|
|
15017
15305
|
#
|
|
15018
15306
|
# @option params [required, String] :identifier
|
|
@@ -16744,7 +17032,7 @@ module Aws::DataZone
|
|
|
16744
17032
|
tracer: tracer
|
|
16745
17033
|
)
|
|
16746
17034
|
context[:gem_name] = 'aws-sdk-datazone'
|
|
16747
|
-
context[:gem_version] = '1.
|
|
17035
|
+
context[:gem_version] = '1.98.0'
|
|
16748
17036
|
Seahorse::Client::Request.new(handlers, context)
|
|
16749
17037
|
end
|
|
16750
17038
|
|