update_resource
async
¶
update_resource(
role_arn: IAMRoleArn,
resource_arn: ResourceArnString,
*,
config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
with_federation: Optional[NullableBoolean] = None,
hybrid_access_enabled: Optional[NullableBoolean] = None,
expected_resource_owner_account: Optional[AccountIdString] = None,
) -> UpdateResourceResponse
Updates the data access role used for vending access to the given (registered) resource in Lake Formation.
Parameters:
-
role_arn(IAMRoleArn) –The new role to use for the given resource registered in Lake Formation.
-
resource_arn(ResourceArnString) –The resource ARN.
-
with_federation(Optional[NullableBoolean], default:None) –Whether or not the resource is a federated resource.
-
hybrid_access_enabled(Optional[NullableBoolean], default:None) –Specifies whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
-
expected_resource_owner_account(Optional[AccountIdString], default:None) –The Amazon Web Services account that owns the Glue tables associated with specific Amazon S3 locations.
Raises:
-
EntityNotFoundException–A specified entity does not exist.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lakeformation/_services/async_lake_formation.py
4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 | |