AuditManager / Client / update_assessment_framework_share

update_assessment_framework_share#

AuditManager.Client.update_assessment_framework_share(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.update_assessment_framework_share(
    requestId='string',
    requestType='SENT'|'RECEIVED',
    action='ACCEPT'|'DECLINE'|'REVOKE'
)
Parameters:
  • requestId (string) –

    [REQUIRED]

    The unique identifier for the share request.

  • requestType (string) –

    [REQUIRED]

    Specifies whether the share request is a sent request or a received request.

  • action (string) –

    [REQUIRED]

    Specifies the update action for the share request.

Return type:

dict

Returns:

Response Syntax

{
    'assessmentFrameworkShareRequest': {
        'id': 'string',
        'frameworkId': 'string',
        'frameworkName': 'string',
        'frameworkDescription': 'string',
        'status': 'ACTIVE'|'REPLICATING'|'SHARED'|'EXPIRING'|'FAILED'|'EXPIRED'|'DECLINED'|'REVOKED',
        'sourceAccount': 'string',
        'destinationAccount': 'string',
        'destinationRegion': 'string',
        'expirationTime': datetime(2015, 1, 1),
        'creationTime': datetime(2015, 1, 1),
        'lastUpdated': datetime(2015, 1, 1),
        'comment': 'string',
        'standardControlsCount': 123,
        'customControlsCount': 123,
        'complianceType': 'string'
    }
}

Response Structure

  • (dict) –

    • assessmentFrameworkShareRequest (dict) –

      The updated share request that’s returned by the UpdateAssessmentFrameworkShare 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 (string) –

        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 (datetime) –

        The time when the share request expires.

      • creationTime (datetime) –

        The time when the share request was created.

      • lastUpdated (datetime) –

        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.

Exceptions