def __init__()

in api/client/src/pcluster_client/api/image_operations_api.py [0:0]


    def __init__(self, api_client=None):
        if api_client is None:
            api_client = ApiClient()
        self.api_client = api_client
        self.build_image_endpoint = _Endpoint(
            settings={
                'response_type': (BuildImageResponseContent,),
                'auth': [
                    'aws.auth.sigv4'
                ],
                'endpoint_path': '/v3/images/custom',
                'operation_id': 'build_image',
                'http_method': 'POST',
                'servers': None,
            },
            params_map={
                'all': [
                    'build_image_request_content',
                    'suppress_validators',
                    'validation_failure_level',
                    'dryrun',
                    'rollback_on_failure',
                    'region',
                ],
                'required': [
                    'build_image_request_content',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                    'suppress_validators',
                ]
            },
            root_map={
                'validations': {
                    ('suppress_validators',): {

                    },
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'build_image_request_content':
                        (BuildImageRequestContent,),
                    'suppress_validators':
                        ([str],),
                    'validation_failure_level':
                        (ValidationLevel,),
                    'dryrun':
                        (bool,),
                    'rollback_on_failure':
                        (bool,),
                    'region':
                        (str,),
                },
                'attribute_map': {
                    'suppress_validators': 'suppressValidators',
                    'validation_failure_level': 'validationFailureLevel',
                    'dryrun': 'dryrun',
                    'rollback_on_failure': 'rollbackOnFailure',
                    'region': 'region',
                },
                'location_map': {
                    'build_image_request_content': 'body',
                    'suppress_validators': 'query',
                    'validation_failure_level': 'query',
                    'dryrun': 'query',
                    'rollback_on_failure': 'query',
                    'region': 'query',
                },
                'collection_format_map': {
                    'suppress_validators': 'multi',
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [
                    'application/json'
                ]
            },
            api_client=api_client
        )
        self.delete_image_endpoint = _Endpoint(
            settings={
                'response_type': (DeleteImageResponseContent,),
                'auth': [
                    'aws.auth.sigv4'
                ],
                'endpoint_path': '/v3/images/custom/{imageId}',
                'operation_id': 'delete_image',
                'http_method': 'DELETE',
                'servers': None,
            },
            params_map={
                'all': [
                    'image_id',
                    'region',
                    'force',
                ],
                'required': [
                    'image_id',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                    'image_id',
                ]
            },
            root_map={
                'validations': {
                    ('image_id',): {

                        'regex': {
                            'pattern': r'^[a-zA-Z][a-zA-Z0-9-]+$',  # noqa: E501
                        },
                    },
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'image_id':
                        (str,),
                    'region':
                        (str,),
                    'force':
                        (bool,),
                },
                'attribute_map': {
                    'image_id': 'imageId',
                    'region': 'region',
                    'force': 'force',
                },
                'location_map': {
                    'image_id': 'path',
                    'region': 'query',
                    'force': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.describe_image_endpoint = _Endpoint(
            settings={
                'response_type': (DescribeImageResponseContent,),
                'auth': [
                    'aws.auth.sigv4'
                ],
                'endpoint_path': '/v3/images/custom/{imageId}',
                'operation_id': 'describe_image',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'image_id',
                    'region',
                ],
                'required': [
                    'image_id',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                    'image_id',
                ]
            },
            root_map={
                'validations': {
                    ('image_id',): {

                        'regex': {
                            'pattern': r'^[a-zA-Z][a-zA-Z0-9-]+$',  # noqa: E501
                        },
                    },
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'image_id':
                        (str,),
                    'region':
                        (str,),
                },
                'attribute_map': {
                    'image_id': 'imageId',
                    'region': 'region',
                },
                'location_map': {
                    'image_id': 'path',
                    'region': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.list_images_endpoint = _Endpoint(
            settings={
                'response_type': (ListImagesResponseContent,),
                'auth': [
                    'aws.auth.sigv4'
                ],
                'endpoint_path': '/v3/images/custom',
                'operation_id': 'list_images',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'image_status',
                    'region',
                    'next_token',
                ],
                'required': [
                    'image_status',
                ],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'image_status':
                        (ImageStatusFilteringOption,),
                    'region':
                        (str,),
                    'next_token':
                        (str,),
                },
                'attribute_map': {
                    'image_status': 'imageStatus',
                    'region': 'region',
                    'next_token': 'nextToken',
                },
                'location_map': {
                    'image_status': 'query',
                    'region': 'query',
                    'next_token': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )
        self.list_official_images_endpoint = _Endpoint(
            settings={
                'response_type': (ListOfficialImagesResponseContent,),
                'auth': [
                    'aws.auth.sigv4'
                ],
                'endpoint_path': '/v3/images/official',
                'operation_id': 'list_official_images',
                'http_method': 'GET',
                'servers': None,
            },
            params_map={
                'all': [
                    'region',
                    'os',
                    'architecture',
                ],
                'required': [],
                'nullable': [
                ],
                'enum': [
                ],
                'validation': [
                ]
            },
            root_map={
                'validations': {
                },
                'allowed_values': {
                },
                'openapi_types': {
                    'region':
                        (str,),
                    'os':
                        (str,),
                    'architecture':
                        (str,),
                },
                'attribute_map': {
                    'region': 'region',
                    'os': 'os',
                    'architecture': 'architecture',
                },
                'location_map': {
                    'region': 'query',
                    'os': 'query',
                    'architecture': 'query',
                },
                'collection_format_map': {
                }
            },
            headers_map={
                'accept': [
                    'application/json'
                ],
                'content_type': [],
            },
            api_client=api_client
        )