update_ip_set
async
¶
update_ip_set(
detector_id: DetectorId,
ip_set_id: String,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
name: Optional[Name] = None,
location: Optional[Location] = None,
activate: Optional[Boolean] = None,
expected_bucket_owner: Optional[AccountId] = None,
) -> UpdateIPSetResponse
Updates the IPSet specified by the IPSet ID.
Parameters:
-
detector_id(DetectorId) –The detectorID that specifies the GuardDuty service whose IPSet you want to update.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
ip_set_id(String) –The unique ID that specifies the IPSet that you want to update.
-
name(Optional[Name], default:None) –The unique ID that specifies the IPSet that you want to update.
-
location(Optional[Location], default:None) –The updated URI of the file that contains the IPSet.
-
activate(Optional[Boolean], default:None) –The updated Boolean value that specifies whether the IPSet is active or not.
-
expected_bucket_owner(Optional[AccountId], default:None) –The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter.
Raises:
-
AccessDeniedException–An access denied exception object.
-
BadRequestException–A bad request exception object.
-
InternalServerErrorException–An internal server error exception object.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_guardduty/_services/async_guard_duty.py
6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 | |