LaunchWizard / Paginator / ListWorkloadDeploymentPatterns

ListWorkloadDeploymentPatterns

class LaunchWizard.Paginator.ListWorkloadDeploymentPatterns
paginator = client.get_paginator('list_workload_deployment_patterns')
paginate(**kwargs)

Creates an iterator that will paginate through responses from LaunchWizard.Client.list_workload_deployment_patterns().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    workloadName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • workloadName (string) –

    [REQUIRED]

    The name of the workload.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'workloadDeploymentPatterns': [
        {
            'workloadName': 'string',
            'deploymentPatternName': 'string',
            'workloadVersionName': 'string',
            'deploymentPatternVersionName': 'string',
            'displayName': 'string',
            'description': 'string',
            'status': 'ACTIVE'|'INACTIVE'|'DISABLED'|'DELETED',
            'statusMessage': 'string',
            'accountConstraints': [
                {
                    'managementAccount': {},
                    'delegatedAdmin': {
                        'servicePrincipal': 'string'
                    }
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • workloadDeploymentPatterns (list) –

      Describes the workload deployment patterns.

      • (dict) –

        Describes a workload deployment pattern.

        • workloadName (string) –

          The name of the workload.

        • deploymentPatternName (string) –

          The name of a workload deployment pattern.

        • workloadVersionName (string) –

          The name of the workload deployment pattern version.

        • deploymentPatternVersionName (string) –

          The version name of a workload deployment pattern.

        • displayName (string) –

          The display name of a workload deployment pattern.

        • description (string) –

          The description of a workload deployment pattern.

        • status (string) –

          The status of a workload deployment pattern.

        • statusMessage (string) –

          A message about a workload deployment pattern’s status.

        • accountConstraints (list) –

          Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level.

          • (dict) –

            A constraint on which AWS account a deployment can be initiated from. Specify one of the supported constraint types.

            Note

            This is a Tagged Union structure. Only one of the following top level keys will be set: managementAccount, delegatedAdmin. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

            'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
            
            • managementAccount (dict) –

              The deployment must be initiated from the AWS Organizations management account.

            • delegatedAdmin (dict) –

              The deployment must be initiated from a delegated administrator account for the specified service principal.

              • servicePrincipal (string) –

                The service principal for which the account must be a delegated administrator. For example, stacksets.cloudformation.amazonaws.com.

    • NextToken (string) –

      A token to resume pagination.