update_network_migration_mapper_segment
async
¶
update_network_migration_mapper_segment(
network_migration_definition_id: NetworkMigrationDefinitionID,
network_migration_execution_id: NetworkMigrationExecutionID,
segment_id: SegmentID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
scope_tags: Optional[ScopeTagsMap] = None,
) -> NetworkMigrationMapperSegment
Updates a mapper segment's configuration, such as changing its scope tags.
Parameters:
-
network_migration_definition_id(NetworkMigrationDefinitionID) –The unique identifier of the network migration definition.
-
network_migration_execution_id(NetworkMigrationExecutionID) –The unique identifier of the network migration execution.
-
segment_id(SegmentID) –The unique identifier of the segment to update.
-
scope_tags(Optional[ScopeTagsMap], default:None) –The updated scope tags for the segment.
Raises:
-
AccessDeniedException–Operation denied due to a file permission or access check error.
-
ResourceNotFoundException–Resource not found exception.
-
ValidationException–Validate exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Sample UpdateNetworkMigrationMapperSegment call
>>> await client.update_network_migration_mapper_segment(network_migration_execution_id='01234567-abcd-abcd-abcd-0123456789ab', network_migration_definition_id='nmd-01234567891234567', segment_id='12345678-abcd-abcd-efab-0123456789ab')
Source code in docs_src/capo_mgn/_services/async_mgn.py
5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 | |