func (m *Metadata) Session(ctx context.Context) (*session.Session, error) {
	m.mutex.Lock()
	defer m.mutex.Unlock()

	return m.unlockedSession(ctx)
}
// Session holds an AWS session which can be used for AWS API calls
// during asset generation.
Session holds an AWS session which can be used for AWS API calls
during asset generation.
// Session holds an AWS session which can be used for AWS API calls // during asset generation .
func (m *Metadata) Session(ctx context.Context) (*session.Session, error) {
	m.mutex.Lock()
	defer m.mutex.Unlock()
	return m.unlockedSession(ctx)
}
func ( m * Metadata ) Session ( ctx context . Context ) ( * session . Session , error ) { m . mutex . Lock ( ) defer m . mutex . Unlock ( ) return m . unlockedSession ( ctx ) }
Session holds an AWS session which can be used for AWS API calls
during asset generation.
Session holds an AWS session which can be used for AWS API calls during asset generation .