code: func (m *MockEC2MetadataClient) InstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error) {
  	ret := m.ctrl.Call(m, "InstanceIdentityDocument")
  	ret0, _ := ret[0].(ec2metadata.EC2InstanceIdentityDocument)
  	ret1, _ := ret[1].(error)
  	return ret0, ret1
  }
docs: // InstanceIdentityDocument mocks base method