WellArchitected / Client / get_profile_template

get_profile_template#

WellArchitected.Client.get_profile_template()#

Get profile template.

See also: AWS API Documentation

Request Syntax

response = client.get_profile_template()
Return type:

dict

Returns:

Response Syntax

{
    'ProfileTemplate': {
        'TemplateName': 'string',
        'TemplateQuestions': [
            {
                'QuestionId': 'string',
                'QuestionTitle': 'string',
                'QuestionDescription': 'string',
                'QuestionChoices': [
                    {
                        'ChoiceId': 'string',
                        'ChoiceTitle': 'string',
                        'ChoiceDescription': 'string'
                    },
                ],
                'MinSelectedChoices': 123,
                'MaxSelectedChoices': 123
            },
        ],
        'CreatedAt': datetime(2015, 1, 1),
        'UpdatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • ProfileTemplate (dict) –

      The profile template.

      • TemplateName (string) –

        The name of the profile template.

      • TemplateQuestions (list) –

        Profile template questions.

        • (dict) –

          A profile template question.

          • QuestionId (string) –

            The ID of the question.

          • QuestionTitle (string) –

            The title of the question.

          • QuestionDescription (string) –

            The description of the question.

          • QuestionChoices (list) –

            The question choices.

            • (dict) –

              A profile template choice.

              • ChoiceId (string) –

                The ID of a choice.

              • ChoiceTitle (string) –

                The title of a choice.

              • ChoiceDescription (string) –

                The description of a choice.

          • MinSelectedChoices (integer) –

            The minimum number of choices selected.

          • MaxSelectedChoices (integer) –

            The maximum number of choices selected.

      • CreatedAt (datetime) –

        The date and time recorded.

      • UpdatedAt (datetime) –

        The date and time recorded.

Exceptions

  • WellArchitected.Client.exceptions.ValidationException

  • WellArchitected.Client.exceptions.ResourceNotFoundException

  • WellArchitected.Client.exceptions.InternalServerException

  • WellArchitected.Client.exceptions.AccessDeniedException

  • WellArchitected.Client.exceptions.ThrottlingException