updateShareInvitation method
Update a workload or custom lens share invitation.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter shareInvitationId :
The ID assigned to the share invitation.
Implementation
Future<UpdateShareInvitationOutput> updateShareInvitation({
required ShareInvitationAction shareInvitationAction,
required String shareInvitationId,
}) async {
final $payload = <String, dynamic>{
'ShareInvitationAction': shareInvitationAction.value,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri: '/shareInvitations/${Uri.encodeComponent(shareInvitationId)}',
exceptionFnMap: _exceptionFns,
);
return UpdateShareInvitationOutput.fromJson(response);
}