---
title: "PUT /assessmentFrameworkShareRequests/{requestId}"
method: PUT
path: "/assessmentFrameworkShareRequests/{requestId}"
---

# PUT /assessmentFrameworkShareRequests/{requestId}

`PUT /assessmentFrameworkShareRequests/{requestId}`

Updates a share request for a custom framework in Audit Manager.

## Path parameters

- `requestId` string, required

## Request body

- object
  - `requestType` 'SENT' | 'RECEIVED', required — Specifies whether the share request is a sent request or a received request.
  - `action` 'ACCEPT' | 'DECLINE' | 'REVOKE', required — Specifies the update action for the share request.

## Response `200`

Success

- UpdateAssessmentFrameworkShareResponse
  - `assessmentFrameworkShareRequest` object — The updated share request that's returned by the <code>UpdateAssessmentFrameworkShare</code> operation.
    - `id` string — The unique identifier for the share request.
    - `frameworkId` string — The unique identifier for the shared custom framework.
    - `frameworkName` string — The name of the custom framework that the share request is for.
    - `frameworkDescription` string — The description of the shared custom framework.
    - `status` 'ACTIVE' | 'REPLICATING' | 'SHARED' | 'EXPIRING' | 'FAILED' | 'EXPIRED' | 'DECLINED' | 'REVOKED' — The status of the share request.
    - `sourceAccount` string — The Amazon Web Services account of the sender.
    - `destinationAccount` string — The Amazon Web Services account of the recipient.
    - `destinationRegion` string — The Amazon Web Services Region of the recipient.
    - `expirationTime` string, date-time — The time when the share request expires.
    - `creationTime` string, date-time — The time when the share request was created.
    - `lastUpdated` string, date-time — Specifies when the share request was last updated.
    - `comment` string — An optional comment from the sender about the share request.
    - `standardControlsCount` integer — The number of standard controls that are part of the shared custom framework.
    - `customControlsCount` integer — The number of custom controls that are part of the shared custom framework.
    - `complianceType` string — The compliance type that the shared custom framework supports, such as CIS or HIPAA.

## Other responses

- `480` — ResourceNotFoundException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — InternalServerException
- `484` — ServiceQuotaExceededException

---

[API](https://skmtc.net/aws/apis/auditmanager.md) · [All operations](https://skmtc.net/aws/apis/auditmanager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/auditmanager/versions/27a1388d0f2a/schema)
