Module Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A datetime N/A xml.sax N/A unittest N/A boto.handler N/A boto.resultset N/A boto.cloudformation N/A SAMPLE_XML 
<DescribeStacksResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
  <DescribeStacksResult>
    <Stacks>
      <member>
        <Tags>
          <member>
            <Value>value0</Value>
            <Key>key0</Key>
          </member>
          <member>
            <Key>key1</Key>
            <Value>value1</Value>
          </member>
        </Tags>
        <StackId>arn:aws:cloudformation:ap-southeast-1:100:stack/Name/id</StackId>
        <StackStatus>CREATE_COMPLETE</StackStatus>
        <StackName>Name</StackName>
        <StackStatusReason/>
        <Description/>
        <NotificationARNs>
          <member>arn:aws:sns:ap-southeast-1:100:name</member>
        </NotificationARNs>
        <CreationTime>2013-01-10T05:04:56Z</CreationTime>
        <DisableRollback>false</DisableRollback>
        <Outputs>
          <member>
            <OutputValue>value0</OutputValue>
            <Description>output0</Description>
            <OutputKey>key0</OutputKey>
          </member>
          <member>
            <OutputValue>value1</OutputValue>
            <Description>output1</Description>
            <OutputKey>key1</OutputKey>
          </member>
        </Outputs>
      </member>
    </Stacks>
  </DescribeStacksResult>
  <ResponseMetadata>
    <RequestId>1</RequestId>
  </ResponseMetadata>
</DescribeStacksResponse>
 N/A DESCRIBE_STACK_RESOURCE_XML 
<DescribeStackResourcesResult>
  <StackResources>
    <member>
      <StackId>arn:aws:cloudformation:us-east-1:123456789:stack/MyStack/aaf549a0-a413-11df-adb3-5081b3858e83</StackId>
      <StackName>MyStack</StackName>
      <LogicalResourceId>MyDBInstance</LogicalResourceId>
      <PhysicalResourceId>MyStack_DB1</PhysicalResourceId>
      <ResourceType>AWS::DBInstance</ResourceType>
      <Timestamp>2010-07-27T22:27:28Z</Timestamp>
      <ResourceStatus>CREATE_COMPLETE</ResourceStatus>
    </member>
    <member>
      <StackId>arn:aws:cloudformation:us-east-1:123456789:stack/MyStack/aaf549a0-a413-11df-adb3-5081b3858e83</StackId>
      <StackName>MyStack</StackName>
      <LogicalResourceId>MyAutoScalingGroup</LogicalResourceId>
      <PhysicalResourceId>MyStack_ASG1</PhysicalResourceId>
      <ResourceType>AWS::AutoScalingGroup</ResourceType>
      <Timestamp>2010-07-27T22:28:28.123456Z</Timestamp>
      <ResourceStatus>CREATE_IN_PROGRESS</ResourceStatus>
    </member>
  </StackResources>
</DescribeStackResourcesResult>
 N/A LIST_STACKS_XML 
<ListStacksResponse>
 <ListStacksResult>
  <StackSummaries>
    <member>
        <StackId>
            arn:aws:cloudformation:us-east-1:1234567:stack/TestCreate1/aaaaa
        </StackId>
        <StackStatus>CREATE_IN_PROGRESS</StackStatus>
        <StackName>vpc1</StackName>
        <CreationTime>2011-05-23T15:47:44Z</CreationTime>
        <TemplateDescription>
            Creates one EC2 instance and a load balancer.
        </TemplateDescription>
    </member>
    <member>
        <StackId>
            arn:aws:cloudformation:us-east-1:1234567:stack/TestDelete2/bbbbb
        </StackId>
        <StackStatus>DELETE_COMPLETE</StackStatus>
        <DeletionTime>2011-03-10T16:20:51.575757Z</DeletionTime>
        <StackName>WP1</StackName>
        <CreationTime>2011-03-05T19:57:58.161616Z</CreationTime>
        <TemplateDescription>
            A simple basic Cloudformation Template.
        </TemplateDescription>
    </member>
  </StackSummaries>
 </ListStacksResult>
</ListStacksResponse>
 N/A LIST_STACK_RESOURCES_XML 
<ListStackResourcesResponse>
  <ListStackResourcesResult>
    <StackResourceSummaries>
      <member>
        <ResourceStatus>CREATE_COMPLETE</ResourceStatus>
        <LogicalResourceId>DBSecurityGroup</LogicalResourceId>
        <LastUpdatedTime>2011-06-21T20:15:58Z</LastUpdatedTime>
        <PhysicalResourceId>gmarcteststack-dbsecuritygroup-1s5m0ez5lkk6w</PhysicalResourceId>
        <ResourceType>AWS::RDS::DBSecurityGroup</ResourceType>
      </member>
      <member>
        <ResourceStatus>CREATE_COMPLETE</ResourceStatus>
        <LogicalResourceId>SampleDB</LogicalResourceId>
        <LastUpdatedTime>2011-06-21T20:25:57.875643Z</LastUpdatedTime>
        <PhysicalResourceId>MyStack-sampledb-ycwhk1v830lx</PhysicalResourceId>
        <ResourceType>AWS::RDS::DBInstance</ResourceType>
      </member>
    </StackResourceSummaries>
  </ListStackResourcesResult>
  <ResponseMetadata>
    <RequestId>2d06e36c-ac1d-11e0-a958-f9382b6eb86b</RequestId>
  </ResponseMetadata>
</ListStackResourcesResponse>
 TestStackParse N/A N/A unittest TestCase N/A test_parse_tags N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack Stack N/A h N/A N/A N/A boto handler XmlHandler rs None N/A N/A N/A N/A xml sax parseString SAMPLE_XML h N/A tags N/A N/A rs N/A 0 tags N/A N/A N/A self assertEqual tags N/A key0 key1 value0 value1 N/A test_event_creation_time_with_millis N/A N/A self N/A N/A N/A millis_xml N/A N/A SAMPLE_XML replace <CreationTime>2013-01-10T05:04:56Z</CreationTime> <CreationTime>2013-01-10T05:04:56.102342Z</CreationTime> N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack Stack N/A h N/A N/A N/A boto handler XmlHandler rs None N/A N/A N/A N/A xml sax parseString millis_xml h N/A creation_time N/A N/A rs N/A 0 creation_time N/A N/A N/A self assertEqual creation_time N/A N/A datetime datetime 2013 1 10 5 4 56 102342 N/A test_resource_time_with_millis N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack StackResource N/A h N/A N/A N/A boto handler XmlHandler rs None N/A N/A N/A N/A xml sax parseString DESCRIBE_STACK_RESOURCE_XML h N/A timestamp_1 N/A N/A rs N/A 0 timestamp N/A N/A N/A self assertEqual timestamp_1 N/A N/A datetime datetime 2010 7 27 22 27 28 N/A timestamp_2 N/A N/A rs N/A 1 timestamp N/A N/A N/A self assertEqual timestamp_2 N/A N/A datetime datetime 2010 7 27 22 28 28 123456 N/A test_list_stacks_time_with_millis N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack StackSummary N/A h N/A N/A N/A boto handler XmlHandler rs None N/A N/A N/A N/A xml sax parseString LIST_STACKS_XML h N/A timestamp_1 N/A N/A rs N/A 0 creation_time N/A N/A N/A self assertEqual timestamp_1 N/A N/A datetime datetime 2011 5 23 15 47 44 N/A timestamp_2 N/A N/A rs N/A 1 creation_time N/A N/A N/A self assertEqual timestamp_2 N/A N/A datetime datetime 2011 3 5 19 57 58 161616 N/A timestamp_3 N/A N/A rs N/A 1 deletion_time N/A N/A N/A self assertEqual timestamp_3 N/A N/A datetime datetime 2011 3 10 16 20 51 575757 N/A test_list_stacks_time_with_millis_again N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack StackResourceSummary N/A h N/A N/A N/A boto handler XmlHandler rs None N/A N/A N/A N/A xml sax parseString LIST_STACK_RESOURCES_XML h N/A timestamp_1 N/A N/A rs N/A 0 last_updated_time N/A N/A N/A self assertEqual timestamp_1 N/A N/A datetime datetime 2011 6 21 20 15 58 N/A timestamp_2 N/A N/A rs N/A 1 last_updated_time N/A N/A N/A self assertEqual timestamp_2 N/A N/A datetime datetime 2011 6 21 20 25 57 875643 N/A test_disable_rollback_false N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack Stack N/A h N/A N/A N/A boto handler XmlHandler rs None N/A N/A N/A N/A xml sax parseString SAMPLE_XML h N/A disable_rollback N/A N/A rs N/A 0 disable_rollback N/A N/A N/A self assertFalse disable_rollback N/A test_disable_rollback_false_upper N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack Stack N/A h N/A N/A N/A boto handler XmlHandler rs None N/A sample_xml_upper N/A N/A SAMPLE_XML replace false False N/A N/A N/A N/A xml sax parseString sample_xml_upper h N/A disable_rollback N/A N/A rs N/A 0 disable_rollback N/A N/A N/A self assertFalse disable_rollback N/A test_disable_rollback_true N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack Stack N/A h N/A N/A N/A boto handler XmlHandler rs None N/A sample_xml_upper N/A N/A SAMPLE_XML replace false true N/A N/A N/A N/A xml sax parseString sample_xml_upper h N/A disable_rollback N/A N/A rs N/A 0 disable_rollback N/A N/A N/A self assertTrue disable_rollback N/A test_disable_rollback_true_upper N/A N/A self N/A N/A N/A rs N/A N/A N/A boto resultset ResultSet N/A N/A member N/A N/A N/A boto cloudformation stack Stack N/A h N/A N/A N/A boto handler XmlHandler rs None N/A sample_xml_upper N/A N/A SAMPLE_XML replace false True N/A N/A N/A N/A xml sax parseString sample_xml_upper h N/A disable_rollback N/A N/A rs N/A 0 disable_rollback N/A N/A N/A self assertTrue disable_rollback N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main