U
    3dm                     @   s  d Z ddlmZ ddlmZ G dd deZG dd deZG dd	 d	eZG d
d deZG dd deZ	G dd deZ
G dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZG d0d1 d1eZG d2d3 d3eZG d4d5 d5eZG d6d7 d7eZG d8d9 d9eZG d:d; d;eZ G d<d= d=eZ!G d>d? d?eZ"G d@dA dAeZ#G dBdC dCeZ$G dDdE dEeZ%G dFdG dGeZ&G dHdI dIeZ'G dJdK dKeZ(G dLdM dMeZ)G dNdO dOeZ*G dPdQ dQeZ+G dRdS dSeZ,G dTdU dUeZ-G dVdW dWeZ.G dXdY dYeZ/G dZd[ d[eZ0G d\d] d]eZ1G d^d_ d_eZ2G d`da daeZ3G dbdc dceZ4G ddde dee4Z5G dfdg dgeZ6G dhdi dieZ7G djdk dkeZ8G dldm dmeZ9G dndo doeZ:G dpdq dqeZ;drS )sz6Classify responses from layer1 and strict type values.    )datetime)sixc                   @   s$   e Zd Zdd Zdd Zdd ZdS )
BaseObjectc                 C   sd   | j jd }d}t| jD ]:\}}|d7 }|dkr<|d7 }||d 7 }|| |7 }q|d7 }|S )Nz{ r      z, z: z })	__class____name__r   	iteritems__dict___repr_by_type)selfresultcounterkeyvalue r   ;/tmp/pip-unpacked-wheel-d7dsrkjd/boto/beanstalk/response.py__repr__   s    zBaseObject.__repr__c                 C   sF   d}t |tr|| 7 }n&t |tr6|| |7 }n|t|7 }|S )N )
isinstanceResponser   list
_repr_liststr)r   r   r   r   r   r   r
      s    

zBaseObject._repr_by_typec                 C   sL   d}|D ]}|d|  | d 7 }qt|dkr@|d d d }|d7 }|S )N[ ,r   ])r
   len)r   arrayr   r   r   r   r   r       s    zBaseObject._repr_listN)r   
__module____qualname__r   r
   r   r   r   r   r   r      s   r   c                       s   e Zd Z fddZ  ZS )r   c                    s0   t t|   |d r&t|d | _nd | _d S )NResponseMetadata)superr   __init__r"   Zresponse_metadatar   responser   r   r   r$   ,   s    zResponse.__init__r   r    r!   r$   __classcell__r   r   r'   r   r   +   s   r   c                       s   e Zd Z fddZ  ZS )r"   c                    s    t t|   t|d | _d S )N	RequestId)r#   r"   r$   r   
request_idr%   r'   r   r   r$   6   s    zResponseMetadata.__init__r(   r   r   r'   r   r"   5   s   r"   c                       s   e Zd Z fddZ  ZS )ApplicationDescriptionc                    s   t t|   t|d | _g | _|d rL|d D ]}t|}| j| q2t|d | _	t|d | _
t|d | _g | _|d r|d D ]}t|}| j| qd S )NApplicationNameZConfigurationTemplatesDateCreatedDateUpdatedDescriptionZVersions)r#   r,   r$   r   application_nameZconfiguration_templatesappendr   fromtimestampdate_createddate_updateddescriptionversions)r   r&   memberZconfiguration_templateversionr'   r   r   r$   =   s    zApplicationDescription.__init__r(   r   r   r'   r   r,   <   s   r,   c                       s   e Zd Z fddZ  ZS )ApplicationVersionDescriptionc                    sz   t t|   t|d | _t|d | _t|d | _t|d | _	|d rbt
|d | _nd | _t|d | _d S )Nr-   r.   r/   r0   ZSourceBundleVersionLabel)r#   r:   r$   r   r1   r   r3   r4   r5   r6   
S3LocationZsource_bundleversion_labelr%   r'   r   r   r$   Q   s    z&ApplicationVersionDescription.__init__r(   r   r   r'   r   r:   P   s   r:   c                       s   e Zd Z fddZ  ZS )AutoScalingGroupc                    s    t t|   t|d | _d S NName)r#   r>   r$   r   namer%   r'   r   r   r$   `   s    zAutoScalingGroup.__init__r(   r   r   r'   r   r>   _   s   r>   c                       s   e Zd Z fddZ  ZS )ConfigurationOptionDescriptionc                    s  t t|   t|d | _t|d | _|d r>t|d nd | _|d rXt|d nd | _|d rrt|d nd | _	t|d | _
t|d | _|d rt|d | _nd | _t|d	 | _g | _|d
 r|d
 D ]}t|}| j| qt|d | _d S )NZChangeSeverityZDefaultValueZ	MaxLengthZMaxValueZMinValuer@   	NamespaceRegexZUserDefinedZValueOptionsZ	ValueType)r#   rB   r$   r   Zchange_severitydefault_valueint
max_lengthZ	max_valueZ	min_valuerA   	namespaceOptionRestrictionRegexregexZuser_definedZvalue_optionsr2   Z
value_type)r   r&   r8   Zvalue_optionr'   r   r   r$   g   s$    z'ConfigurationOptionDescription.__init__r(   r   r   r'   r   rB   f   s   rB   c                       s   e Zd Z fddZ  ZS )ConfigurationOptionSettingc                    s<   t t|   t|d | _t|d | _t|d | _d S )NrC   
OptionNameValue)r#   rK   r$   r   rH   option_namer   r%   r'   r   r   r$      s    z#ConfigurationOptionSetting.__init__r(   r   r   r'   r   rK   ~   s   rK   c                       s   e Zd Z fddZ  ZS ) ConfigurationSettingsDescriptionc                    s   t t|   t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _g | _|d r|d D ]}t|}| j| q|t|d | _t|d	 | _d S )
Nr-   r.   r/   DeploymentStatusr0   EnvironmentNameOptionSettingsSolutionStackNameTemplateName)r#   rO   r$   r   r1   r   r3   r4   r5   deployment_statusr6   environment_nameoption_settingsrK   r2   solution_stack_nametemplate_namer   r&   r8   Zoption_settingr'   r   r   r$      s    z)ConfigurationSettingsDescription.__init__r(   r   r   r'   r   rO      s   rO   c                       s   e Zd Z fddZ  ZS )EnvironmentDescriptionc                    s   t t|   t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _t|d | _t|d | _t|d	 | _|d
 rt|d
 | _nd | _t|d | _t|d | _t|d | _t|d | _d S )Nr-   CNAMEr.   r/   r0   EndpointURLEnvironmentIdrQ   Health	ResourcesrS   StatusrT   r;   )r#   r[   r$   r   r1   cnamer   r3   r4   r5   r6   endpoint_urlenvironment_idrV   healthEnvironmentResourcesDescription	resourcesrX   statusrY   r=   r%   r'   r   r   r$      s"    zEnvironmentDescription.__init__r(   r   r   r'   r   r[      s   r[   c                       s   e Zd Z fddZ  ZS )EnvironmentInfoDescriptionc                    sL   t t|   t|d | _t|d | _t|d | _t|d | _	d S )NZEc2InstanceIdZInfoTypeMessageZSampleTimestamp)
r#   ri   r$   r   Zec2_instance_idZ	info_typemessager   r3   Zsample_timestampr%   r'   r   r   r$      s
    z#EnvironmentInfoDescription.__init__r(   r   r   r'   r   ri      s   ri   c                       s   e Zd Z fddZ  ZS )EnvironmentResourceDescriptionc                    s  t t|   g | _|d r>|d D ]}t|}| j| q$t|d | _g | _|d r||d D ]}t	|}| j| qbg | _
|d r|d D ]}t|}| j
| qg | _|d r|d D ]}t|}| j| qg | _|d r|d D ]}t|}| j| qd S )NZAutoScalingGroupsrQ   Z	InstancesZLaunchConfigurationsZLoadBalancersZTriggers)r#   rl   r$   Zauto_scaling_groupsr>   r2   r   rV   Z	instancesInstanceZlaunch_configurationsLaunchConfigurationZload_balancersLoadBalancerZtriggersTrigger)r   r&   r8   Zauto_scaling_groupinstanceZlaunch_configurationload_balancerZtriggerr'   r   r   r$      s6    
z'EnvironmentResourceDescription.__init__r(   r   r   r'   r   rl      s   rl   c                       s   e Zd Z fddZ  ZS )rf   c                    s0   t t|   |d r&t|d | _nd | _d S )Nro   )r#   rf   r$   LoadBalancerDescriptionrr   r%   r'   r   r   r$      s    z(EnvironmentResourcesDescription.__init__r(   r   r   r'   r   rf      s   rf   c                       s   e Zd Z fddZ  ZS )EventDescriptionc                    s   t t|   t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _t|d | _t|d | _d S )	Nr-   rQ   Z	EventDaterj   r*   SeverityrT   r;   )r#   rt   r$   r   r1   rV   r   r3   Z
event_daterk   r+   severityrY   r=   r%   r'   r   r   r$      s    zEventDescription.__init__r(   r   r   r'   r   rt      s   rt   c                       s   e Zd Z fddZ  ZS )rm   c                    s    t t|   t|d | _d S )NZId)r#   rm   r$   r   idr%   r'   r   r   r$      s    zInstance.__init__r(   r   r   r'   r   rm      s   rm   c                       s   e Zd Z fddZ  ZS )rn   c                    s    t t|   t|d | _d S r?   )r#   rn   r$   r   rA   r%   r'   r   r   r$      s    zLaunchConfiguration.__init__r(   r   r   r'   r   rn      s   rn   c                       s   e Zd Z fddZ  ZS )Listenerc                    s:   t t|   |d r"t|d nd | _t|d | _d S )NZPortProtocol)r#   rx   r$   rF   portr   protocolr%   r'   r   r   r$     s    zListener.__init__r(   r   r   r'   r   rx     s   rx   c                       s   e Zd Z fddZ  ZS )ro   c                    s    t t|   t|d | _d S r?   )r#   ro   r$   r   rA   r%   r'   r   r   r$   
  s    zLoadBalancer.__init__r(   r   r   r'   r   ro   	  s   ro   c                       s   e Zd Z fddZ  ZS )rs   c                    s^   t t|   t|d | _g | _|d rL|d D ]}t|}| j| q2t|d | _d S )NDomainZ	ListenersZLoadBalancerName)	r#   rs   r$   r   domainZ	listenersrx   r2   Zload_balancer_name)r   r&   r8   Zlistenerr'   r   r   r$     s    z LoadBalancerDescription.__init__r(   r   r   r'   r   rs     s   rs   c                       s   e Zd Z fddZ  ZS )rI   c                    s&   t t|   |d | _|d | _d S )NZLabelPattern)r#   rI   r$   labelpatternr%   r'   r   r   r$     s    
zOptionRestrictionRegex.__init__r(   r   r   r'   r   rI     s   rI   c                       s   e Zd Z fddZ  ZS )SolutionStackDescriptionc                    sP   t t|   g | _|d r>|d D ]}t|}| j| q$t|d | _d S )NZPermittedFileTypesrS   )r#   r   r$   Zpermitted_file_typesr   r2   rX   )r   r&   r8   Zpermitted_file_typer'   r   r   r$   &  s    z!SolutionStackDescription.__init__r(   r   r   r'   r   r   %  s   r   c                       s   e Zd Z fddZ  ZS )r<   c                    s.   t t|   t|d | _t|d | _d S )NS3BucketZS3Key)r#   r<   r$   r   	s3_bucketZs3_keyr%   r'   r   r   r$   2  s    zS3Location.__init__r(   r   r   r'   r   r<   1  s   r<   c                       s   e Zd Z fddZ  ZS )rp   c                    s    t t|   t|d | _d S r?   )r#   rp   r$   r   rA   r%   r'   r   r   r$   :  s    zTrigger.__init__r(   r   r   r'   r   rp   9  s   rp   c                       s   e Zd Z fddZ  ZS )ValidationMessagec                    sJ   t t|   t|d | _t|d | _t|d | _t|d | _d S )Nrj   rC   rL   ru   )r#   r   r$   r   rk   rH   rN   rv   r%   r'   r   r   r$   A  s
    zValidationMessage.__init__r(   r   r   r'   r   r   @  s   r   c                       s   e Zd Z fddZ  ZS )CheckDNSAvailabilityResponsec                    s@   |d }t t| | |d }t|d | _t|d | _d S )Nr   ZCheckDNSAvailabilityResultZFullyQualifiedCNAMEZ	Available)r#   r   r$   r   Zfully_qualified_cnamebool	availabler%   r'   r   r   r$   L  s
    z%CheckDNSAvailabilityResponse.__init__r(   r   r   r'   r   r   K  s   r   c                   @   s   e Zd ZdS )CheckDnsAvailabilityResponseNr   r    r!   r   r   r   r   r   W  s    r   c                       s   e Zd Z fddZ  ZS )CreateApplicationResponsec                    sB   |d }t t| | |d }|d r8t|d | _nd | _d S )Nr   ZCreateApplicationResultApplication)r#   r   r$   r,   applicationr%   r'   r   r   r$   [  s    z"CreateApplicationResponse.__init__r(   r   r   r'   r   r   Z  s   r   c                       s   e Zd Z fddZ  ZS ) CreateApplicationVersionResponsec                    sB   |d }t t| | |d }|d r8t|d | _nd | _d S )Nr   ZCreateApplicationVersionResultApplicationVersion)r#   r   r$   r:   application_versionr%   r'   r   r   r$   g  s    z)CreateApplicationVersionResponse.__init__r(   r   r   r'   r   r   f  s   r   c                       s   e Zd Z fddZ  ZS )#CreateConfigurationTemplateResponsec                    s   |d }t t| | |d }t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _g | _|d	 r|d	 D ]}t|}| j| qt|d
 | _t|d | _d S )Nr   Z!CreateConfigurationTemplateResultr-   r.   r/   rP   r0   rQ   rR   rS   rT   )r#   r   r$   r   r1   r   r3   r4   r5   rU   r6   rV   rW   rK   r2   rX   rY   rZ   r'   r   r   r$   s  s     z,CreateConfigurationTemplateResponse.__init__r(   r   r   r'   r   r   r  s   r   c                       s   e Zd Z fddZ  ZS )CreateEnvironmentResponsec                    s   |d }t t| | |d }t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _t|d	 | _t|d
 | _t|d | _|d rt|d | _nd | _t|d | _t|d | _t|d | _t|d | _d S )Nr   ZCreateEnvironmentResultr-   r\   r.   r/   r0   r]   r^   rQ   r_   r`   rS   ra   rT   r;   )r#   r   r$   r   r1   rb   r   r3   r4   r5   r6   rc   rd   rV   re   rf   rg   rX   rh   rY   r=   r%   r'   r   r   r$     s&    z"CreateEnvironmentResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )CreateStorageLocationResponsec                    s2   |d }t t| | |d }t|d | _d S )Nr   ZCreateStorageLocationResultr   )r#   r   r$   r   r   r%   r'   r   r   r$     s    z&CreateStorageLocationResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )DeleteApplicationResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$     s    z"DeleteApplicationResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS ) DeleteApplicationVersionResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$     s    z)DeleteApplicationVersionResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )#DeleteConfigurationTemplateResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$     s    z,DeleteConfigurationTemplateResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )&DeleteEnvironmentConfigurationResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$     s    z/DeleteEnvironmentConfigurationResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )#DescribeApplicationVersionsResponsec                    sT   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6d S )Nr   Z!DescribeApplicationVersionsResultZApplicationVersions)r#   r   r$   Zapplication_versionsr:   r2   )r   r&   r8   r   r'   r   r   r$     s    z,DescribeApplicationVersionsResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )DescribeApplicationsResponsec                    sT   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6d S )Nr   ZDescribeApplicationsResultZApplications)r#   r   r$   Zapplicationsr,   r2   )r   r&   r8   r   r'   r   r   r$     s    z%DescribeApplicationsResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )$DescribeConfigurationOptionsResponsec                    sb   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6t|d | _d S )Nr   Z"DescribeConfigurationOptionsResultOptionsrS   )r#   r   r$   optionsrB   r2   r   rX   )r   r&   r8   optionr'   r   r   r$     s    z-DescribeConfigurationOptionsResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )%DescribeConfigurationSettingsResponsec                    sT   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6d S )Nr   Z#DescribeConfigurationSettingsResultZConfigurationSettings)r#   r   r$   Zconfiguration_settingsrO   r2   )r   r&   r8   Zconfiguration_settingr'   r   r   r$     s    z.DescribeConfigurationSettingsResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )$DescribeEnvironmentResourcesResponsec                    sB   |d }t t| | |d }|d r8t|d | _nd | _d S )Nr   Z"DescribeEnvironmentResourcesResultZEnvironmentResources)r#   r   r$   rl   Zenvironment_resourcesr%   r'   r   r   r$     s    z-DescribeEnvironmentResourcesResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )DescribeEnvironmentsResponsec                    sT   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6d S )Nr   ZDescribeEnvironmentsResultZEnvironments)r#   r   r$   Zenvironmentsr[   r2   )r   r&   r8   environmentr'   r   r   r$     s    z%DescribeEnvironmentsResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )DescribeEventsResponsec                    sb   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6t|d | _d S )Nr   ZDescribeEventsResultZEventsZ	NextToken)r#   r   r$   eventsrt   r2   r   Znext_tokent)r   r&   r8   eventr'   r   r   r$     s    zDescribeEventsResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )#ListAvailableSolutionStacksResponsec                    s   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6g | _|d r|d D ]}t|}| j| qfd S )Nr   Z!ListAvailableSolutionStacksResultZSolutionStackDetailsZSolutionStacks)r#   r   r$   Zsolution_stack_detailsr   r2   Zsolution_stacksr   )r   r&   r8   Zsolution_stack_detailZsolution_stackr'   r   r   r$     s    z,ListAvailableSolutionStacksResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )RebuildEnvironmentResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$   0  s    z#RebuildEnvironmentResponse.__init__r(   r   r   r'   r   r   /  s   r   c                       s   e Zd Z fddZ  ZS )RequestEnvironmentInfoResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$   6  s    z'RequestEnvironmentInfoResponse.__init__r(   r   r   r'   r   r   5  s   r   c                       s   e Zd Z fddZ  ZS )RestartAppServerResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$   <  s    z!RestartAppServerResponse.__init__r(   r   r   r'   r   r   ;  s   r   c                       s   e Zd Z fddZ  ZS )RetrieveEnvironmentInfoResponsec                    sT   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6d S )Nr   ZRetrieveEnvironmentInfoResultZEnvironmentInfo)r#   r   r$   environment_infori   r2   )r   r&   r8   r   r'   r   r   r$   B  s    z(RetrieveEnvironmentInfoResponse.__init__r(   r   r   r'   r   r   A  s   r   c                       s   e Zd Z fddZ  ZS )SwapEnvironmentCNAMEsResponsec                    s   |d }t t| | d S )Nr   )r#   r   r$   r%   r'   r   r   r$   O  s    z&SwapEnvironmentCNAMEsResponse.__init__r(   r   r   r'   r   r   N  s   r   c                   @   s   e Zd ZdS )SwapEnvironmentCnamesResponseNr   r   r   r   r   r   T  s    r   c                       s   e Zd Z fddZ  ZS )TerminateEnvironmentResponsec                    s   |d }t t| | |d }t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _t|d	 | _t|d
 | _t|d | _|d rt|d | _nd | _t|d | _t|d | _t|d | _t|d | _d S )Nr   ZTerminateEnvironmentResultr-   r\   r.   r/   r0   r]   r^   rQ   r_   r`   rS   ra   rT   r;   )r#   r   r$   r   r1   rb   r   r3   r4   r5   r6   rc   rd   rV   re   rf   rg   rX   rh   rY   r=   r%   r'   r   r   r$   X  s&    z%TerminateEnvironmentResponse.__init__r(   r   r   r'   r   r   W  s   r   c                       s   e Zd Z fddZ  ZS )UpdateApplicationResponsec                    sB   |d }t t| | |d }|d r8t|d | _nd | _d S )Nr   ZUpdateApplicationResultr   )r#   r   r$   r,   r   r%   r'   r   r   r$   q  s    z"UpdateApplicationResponse.__init__r(   r   r   r'   r   r   p  s   r   c                       s   e Zd Z fddZ  ZS ) UpdateApplicationVersionResponsec                    sB   |d }t t| | |d }|d r8t|d | _nd | _d S )Nr   ZUpdateApplicationVersionResultr   )r#   r   r$   r:   r   r%   r'   r   r   r$   }  s    z)UpdateApplicationVersionResponse.__init__r(   r   r   r'   r   r   |  s   r   c                       s   e Zd Z fddZ  ZS )#UpdateConfigurationTemplateResponsec                    s   |d }t t| | |d }t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _g | _|d	 r|d	 D ]}t|}| j| qt|d
 | _t|d | _d S )Nr   Z!UpdateConfigurationTemplateResultr-   r.   r/   rP   r0   rQ   rR   rS   rT   )r#   r   r$   r   r1   r   r3   r4   r5   rU   r6   rV   rW   rK   r2   rX   rY   rZ   r'   r   r   r$     s     z,UpdateConfigurationTemplateResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )UpdateEnvironmentResponsec                    s   |d }t t| | |d }t|d | _t|d | _t|d | _t|d | _	t|d | _
t|d | _t|d	 | _t|d
 | _t|d | _|d rt|d | _nd | _t|d | _t|d | _t|d | _t|d | _d S )Nr   ZUpdateEnvironmentResultr-   r\   r.   r/   r0   r]   r^   rQ   r_   r`   rS   ra   rT   r;   )r#   r   r$   r   r1   rb   r   r3   r4   r5   r6   rc   rd   rV   re   rf   rg   rX   rh   rY   r=   r%   r'   r   r   r$     s&    z"UpdateEnvironmentResponse.__init__r(   r   r   r'   r   r     s   r   c                       s   e Zd Z fddZ  ZS )%ValidateConfigurationSettingsResponsec                    sT   |d }t t| | |d }g | _|d rP|d D ]}t|}| j| q6d S )Nr   Z#ValidateConfigurationSettingsResultZMessages)r#   r   r$   messagesr   r2   )r   r&   r8   rk   r'   r   r   r$     s    z.ValidateConfigurationSettingsResponse.__init__r(   r   r   r'   r   r     s   r   N)<__doc__r   Zboto.compatr   objectr   r   r"   r,   r:   r>   rB   rK   rO   r[   ri   rl   rf   rt   rm   rn   rx   ro   rs   rI   r   r<   rp   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>   sr   %
	
 
	