aws ram replace-permission-associations
Updates all resource shares that use a managed permission to a different managed permission. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--client-tokenSpecifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--from-permission-arnSpecifies the Amazon Resource Name (ARN) of the managed permission that you want to replace.--from-permission-versionSpecifies that you want to updated the permissions for only those resource shares that use the specified version of the managed permission.--permission-template-parametersSpecifies the template parameter values to apply when replacing the permission.--to-permission-arnSpecifies the ARN of the managed permission that you want to associate with resource shares in place of the one specified by fromPerssionArn and fromPermissionVersion.