WellArchitected / Client / create_profile_share

create_profile_share#

WellArchitected.Client.create_profile_share(**kwargs)#

Create a profile share.

See also: AWS API Documentation

Request Syntax

response = client.create_profile_share(
    ProfileArn='string',
    SharedWith='string',
    ClientRequestToken='string'
)
Parameters:
  • ProfileArn (string) –

    [REQUIRED]

    The profile ARN.

  • SharedWith (string) –

    [REQUIRED]

    The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.

  • ClientRequestToken (string) –

    [REQUIRED]

    A unique case-sensitive string used to ensure that this request is idempotent (executes only once).

    You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.

    Warning

    This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'ShareId': 'string',
    'ProfileArn': 'string'
}

Response Structure

  • (dict) –

    • ShareId (string) –

      The ID associated with the share.

    • ProfileArn (string) –

      The profile ARN.

Exceptions